- (Exam Topic 3)
Consider the following code snippet:
A developer created the following test class to provide the proper code coverage for the snippet above: However, when the test runs, no data is returned and the assertion fails.
However, when the test runs, no data is returned and the assertion fails.
Which edit should the developer make to ensure the test class runs successfully?
Correct Answer:D
- (Exam Topic 1)
A developer wants to call an Apex Server-side Controller from a Lightning Aura Component. What are two limitations to the data being returned by the Controller? Choose 2 answers
Correct Answer:BC
- (Exam Topic 3)
A developer recently released functionality to production that performs complex commission calculations in Apex code called from an Opportunity trigger. Users report that the calculations seem incorrect because the values they see for commissions are wrong.
The developer has representative test data in their developer sandbox.
Which three tools or techniques should the developer use to execute the code and pause it at key lines to visually inspect values of various Apex variables?
Choose 3 answers
Correct Answer:ABD
- (Exam Topic 3)
A developer is creating a page in App Builder that will be used in the Salesforce mobile app.
Which two practices should the developer follow to ensure the page operates with optimal performance? Choose 2 answers
Correct Answer:BD
- (Exam Topic 3)
A developer is building a Lightning web component that retrieves data from Salesforce and assigns it to the record property.
What must be done in the component to get the data from Salesforce?
A)
B)
C)
D)
Correct Answer:B
- (Exam Topic 1)
A company wants to incorporate a third-party web service to set the Address fields when an Account is inserted, if they have not already been set. What is the optimal way to achieve this?
Correct Answer:B