Free Salesforce PDII Exam Actual Questions

The questions for PDII were last updated On Apr 28, 2024

Question No. 1

Instead of waiting to send emails to support personnel directly from the finish

method of a batch Apex process, Universal Containers wants to notify an external

system in the event that an unhandled exception occurs.

What is the appropriate publish/subscribe logic to meet this requirement?

Show Answer Hide Answer
Correct Answer: B

Question No. 2

A developer is asked to develop a new AppFxchange application. A feature of the program creates Survey records when a Case reaches a certain stage and is of a certain Record Type. This feature needs to be configurable, as different Salesforce instances require Surveys at different times. Additionally, the out-of-the-box AppExchange app needs to come with a set of best practice settings that apply to

most customers.

What should the developer use to store and package the custom configuration settings for the app?

Show Answer Hide Answer
Correct Answer: C

Question No. 3

A user receives the generic "An internal server error has occurred'' while interacting

with a custom Lightning component.

What should the developer do to ensure a more meaningful message?

Show Answer Hide Answer
Correct Answer: D

Question No. 4

Universal Containers develops a Visualforce page that requires the inclusion of external JavaScript and C55 files. They want to ensure efficient loading and caching of the page.

Which feature should be utilized to achieve this goal?

Show Answer Hide Answer
Correct Answer: C

Question No. 5

A company manages information about their product offerings in custom objects named Catalog and Catalog Item. Catalog Item has a master-detail field to Catalog, and each Catalog may have as many as 100,000 Catalog Items.

Both custom objects have a CurrencylsoCode text field that contains the currency

code they should use. If a Catalog's CurrencylsoCode changes, all of its Catalog

Items' CurrencylsoCodes should be changed as well.

What should a developer use to update the CurrencylsoCodes on the Catalog Items

when the Catalog's CurrencylsoCode changes?

Show Answer Hide Answer
Correct Answer: A