A developer creates a Lightning web component that imports a method within an Apex class. When a
Validate button is pressed, the method runs to execute complex validations.
In this implementation scenario, which two options are.. of the Controller according to the MVC
architecture?
Choose 2 answers
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B, C
Explanation
:
Q: 2
Universal Containers (UC) processes orders in Salesforce in a custom object, Order__c. They also
allow sales reps to upload CSV files with thousands of orders at a time.
A developer is tasked with integrating orders placed in Salesforce with UC's enterprise resource
planning (ERP) system.
After the status for an Order__c is first set to 'Placed', the order information must be sent to a REST
endpoint in the ERP system that can
process one order at a time.
What should the developer implement to accomplish this?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
A
Explanation
:
Q: 3
What is an example of a polymorphic lookup field in Salesforce?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
C
Explanation
:
Q: 4
An Apex method, getAccounts, that returns a list of Accounts given a searchTerm, is available for
Lightning Web Components to use.
What is the correct definition of a Lightning Web Component property that uses the getAccounts
method?
A)
B)
C)
D)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
D
Explanation
:
Q: 5
What are two use cases for executing Anonymous Apex code?
Choose 2 answers
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
A, C
Explanation
:
Q: 6
What can be used to override the Account's standard Edit button for Lightning Experience?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
C
Explanation
:
Q: 7
What can be easily developed using the Lightning Component framework?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B
Explanation
:
Q: 8
A developer created a Lightning web component called statuscomponent to be Inserted into the
Account record page.
Which two things should the developer do to make this component available?
Choose 2 answers
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B, D
Explanation
:
Q: 9
A developer completed modifications feature that is comprised of two elements:
* Apex trigger
* Trigger handler Apex class
What are two factors that the developer must take into account to properly deploy them to the
production environment?
Choose 2 answers
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
A, B
Explanation
:
Q: 10
Which two are phases in the Aura application event propagation framework?
Choose 2 answers
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B, C
Explanation
:
Q: 11
Universal Containers (UC) wants to lower its shipping cost while making the shipping process more
efficient. The Distribution Officer advises UC to implement global addresses to allow multiple
Accounts to share a default pickup address. The developer is tasked to create the supporting object
and relationship for this business requirement and uses the Setup Menu to create a custom object
called "Global Address".
Which field should the developer add to create the most efficient model that supports the business
need?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
D
Explanation
:
Q: 12
A developer created a child Lightning web component nested inside a parent Lightning web
component. The parent component needs to pass a string value to the child component.
In which two ways can this be accomplished?
Choose 2 answers
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
A, B
Explanation
:
Q: 13
While developing an Apex class with custom search functionality that will be launched from a
Lightning Web Component, how can the developer ensure only records accessible to the currently
logged in user are displayed?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
A
Explanation
:
Q: 14
The value of the account type field is not being displayed correctly on the page. Assuming the custom
controller is properly referenced on the Visualforce page, what should the developer do to correct
the problem?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
A
Explanation
:
Q: 15
An org has an existing flow that edits an Opportunity with an Update Records element. A developer
must update the flow to also create a Contact and store the created Contact’s ID on the Opportunity.
Which update must the developer make in the flow?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
C
Explanation
:
Q: 16
The following code snippet is executed by a Lightning web component in an environment with more
than 2,000 lead records:
Which governor limit will likely be exceeded within the Apex transaction?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
C
Explanation
:
Q: 17
A Next Best Action strategy uses an Enhance element that invokes an Apex method to determine a
discount level for a Contact, based on a number of factors.
What is the correct definition of the Apex method?
A)
B)
C)
D)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
C
Explanation
:
Q: 18
Which two characteristics are true for Lightning Web Component custom events?
Choose 2 answers
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
B, D
Explanation
:
Q: 19
A developer needs to allow users to complete a form on an Account record that will create a record
for a custom object.
The form needs to display different fields depending on the user’s job role, The functionality should
only be available to a small group of users.
Which three things should the developer do to satisfy these requirements?
Choose 3 answers
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Correct Answer:
A, B, C
Explanation
:
Q: 20
Consider the following code snippet:
As part of the deployment cycle, a developer creates the following test class:
When the test class runs, the assertion fails.
Which change should the developer implement in the Apex test method to ensure the test method
executes successfully?