Free Salesforce PDI Exam Actual Questions

The questions for PDI were last updated On Jan 15, 2025

Question No. 1

A business has a proprietary Order Management System (OMS) that creates orders from its website and fulfills the orders. When the order is created in the OMS, an integration also creates an order record in Salesforce and relates it to the contact as identified by the email on the order. As the order goes through different stages in the OMS, the integration also updates it in Salesforce.

The business notices that each update from the OMS creates a new order record in Salesforce.

Which two actions should prevent the duplicate order records from being created in Salesforce?

Choose 2 answers

Show Answer Hide Answer
Correct Answer: A, B

Question No. 2

What should be used to create scratch orgs?

Show Answer Hide Answer
Correct Answer: A

Question No. 3

A developer must create a Lightning component that allows users to input Contact record information to create a Contact record, including a Salary c custom field.

What should the developer use, along with a lightning-record-edit-form, so that Salary__c field functions as a currency input and is only viewable and editable by users that have the correct field level permissions on Salary _c?

A)

B)

C)

D)

Show Answer Hide Answer
Correct Answer: C

Question No. 4

A developer needs to confirm that a Contact trigger works correctly without changing the organization's data.

What should the developer do to test the Contact trigger?

Show Answer Hide Answer
Correct Answer: C

Question No. 5

A lead developer creates a virtual class called "OrderRequest". Consider the following code snippet:

How can a developer use the OrderRequest class within the CustomerOrder class?

Show Answer Hide Answer
Correct Answer: C