- (Exam Topic 1)
A company has code to update a Request and Request Lines and make a callout to their external ERP system's REST endpoint with the updated records.
The CalloutUtil. makeRestCallout fails with a 'You have uncommitted work pending. Please commit or rollback before calling out' error. What should be done to address the problem?
Correct Answer:D
- (Exam Topic 3)
A developer is writing a Visualforce page that queries accounts in the system and presents a data table with the results. The users want to be able to filter the results based on up to five fields. However, the users want to pick the five fields to use as filter fields when they run the page.
Which Apex code feature is required to facilitate this solution'
Correct Answer:D
- (Exam Topic 1)
Which API can b|e used to execute unit tests? (Choose three.)
Correct Answer:CDE
- (Exam Topic 3)
A developer is building a Lightning web component that displays quantity, unit price, and the total for an order line item. The total is calculated dynamically as the quantity multiplied by the unit price.
What must be added to display the total?
Correct Answer:B
- (Exam Topic 1)
A Visualforce Page throws an Attempt to dereference a null object error for a Contact. What change In the controller will fix the error?
Correct Answer:C
- (Exam Topic 2)
A developer wrote an Apex class to make several callouts to an external system.
If the URLs used in these callouts will change often, which feature should the developer use to minimize changes needed to the Apex class?
Correct Answer:D