PDI Exam Questions 2026 – Practice Test with Answers

Home / Salesforce / PDI

Latest PDI Exam Practice Questions

The practice questions for PDI exam was last updated on 2026-11-21 .

Viewing page 1 out of 16 pages.

Viewing questions 1 out of 83 questions.

Question#1

A developer is asked to write helper methods that create test data for unit tests.



So that its methods are only usable by unit test methods, what should be changed in the Testvtils class?

A. On line 01, change public to private.
B. Above line 03, add @IsTest,
C. Above line 01, add @IsTest.
D. From line 03, remove static.

Question#2

Universal Containers has a Visualforce page that displays a table of every Container__c being rented by a given Account. Recently this page is failing with a view state limit because some of the customers rent over 10,000 containers.
To help with the page load errors, what should a developer change about the Visualforce page?

A. Use JavaScript remotlng with SOQL Offset.
B. Implement pagination with a StandardSetController.
C. Implement pagination with an OffaetController.
D. Use a transient List variable and lazy loading.

Question#3

Universal Containers recently transitioned from Classic to Lighting Experience. One of its business processes requires certain value from the opportunity object to be sent via HTTP REST callout to its external order management system based on a user-initiated action on the opportunity page.
Example values are as follow
Name
Amount
Account
To fulfill the business requirement, which two methods should the developer implement? (Choose 2 answers)

A. Create a Lightning component which performs the HTTP REST callout, and use a Lightning Action to expose the component on the Opportunity detail page.
B. Create a Process Builder on the Opportunity object that executes an Apex immediate action to perform the HTTP REST callout each time the Opportunity is updated.
C. Create an after update trigger on the Opportunity object that calls a helper method using @Future (Callout=true) for performing the HTTP REST callout.
D. Create a Visualforce page which performs the HTTP REST callout, and use a Visualforce quick action to expose the component on the Opportunity detail page.

Question#4

A custom SVG can be included in a Lightning web component through which three steps? Choose 3 answers

A. Upload the SVG as a static resource.
B. Import the static resource and provide a getter for it in JavaScript.
C. Reference the getter in the HTML template.
D. Reference the import in the HTML template.
E. Import the SVG as a content asset file.

Question#5

What result does the following code snippet produce?


A. Accounts are inserted.
B. Account Is inserted.
C. 200 Accounts are inserted.
D. 201 Accounts are Inserted.

Disclaimer

This page is for educational and exam preparation reference only. It is not affiliated with Salesforce, Platform Developer I, or the official exam provider. Candidates should refer to official documentation and training for authoritative information.

Exam Code: PDIQ & A:  237  Q&As Updated:  2026-11-21

  Get All PDI Q&As