PDII Exam Question 16
A developer wrote a trigger on Opportunity that will update a custom Last Sold Date field on the Opportunity's Account whenever an Opportunity is dosed. In the test class for the trigger, the assertion to validate the Last Sold Date field fails.
What might be causing the failed assertion?
What might be causing the failed assertion?
PDII Exam Question 17
A company has reference data stored in multiple Custom Metadata records that represent default information for certain.
When a Contact is inserted, the default information should be set on the Contact from the Custom Metadata records .. Address information.
What is the optimal way to automate this?
When a Contact is inserted, the default information should be set on the Contact from the Custom Metadata records .. Address information.
What is the optimal way to automate this?
PDII Exam Question 18
A company wants to run different logic based on an Opportunity's record type. Which code segment handles this request and follows best practices?
A)

B)

A)

B)

PDII Exam Question 19
A Lightning Component has a section that displays some information about an Account and it works well on the desktop, but users have to scroll horizontally to see the Description field output on their mobile devices and tablets.

Which option has the changes to make the component responsive for mobile and tablet devices?

Which option has the changes to make the component responsive for mobile and tablet devices?
PDII Exam Question 20
A developer writes the following code:

While testing the code, the developer receives the following error message: System.CalloutException : You have uncommitted work pending What should the developer do? (Choose two.)

While testing the code, the developer receives the following error message: System.CalloutException : You have uncommitted work pending What should the developer do? (Choose two.)
