Salesforce Developers

Salesforce PDI Exam Dumps

Salesforce Certified Platform Developer 1 (Plat-Dev-201)

Exam code
PDI
Questions
184
Updated
25 Nov 2026
  • Instant access from My Account after payment
  • 90 days of free updates
  • Money-back guarantee – see conditions
  • Help by live chat or email
Choose a format
Try free sample questions

Prices in USD. Downloads appear in My Account once your order is complete.

  • Instant access from My Account after payment
  • 90 days of free updates
  • Money-back guarantee – see conditions
  • Help by live chat or email
Free demo

PDI sample questions

Check the style and quality of the material before you buy.

Question 1

Universal Containers implemented a private sharing model for the Account object. Acustom Account search tool was developed with Apex to help sales representatives findaccounts that match multiple criteria they specify. Since its release, users of the tool reportthey can see Accounts they do not own. What should the developer use to enforce sharingpermission for the currently logged-in user while using the custom search tool?

  • A. Use the schema describe calls to determine if the logged-in users has access to theAccount object. 
  • B. Use the without sharing keyword on the class declaration. 
  • C. Use the UserInfo Apex class to filter all SOQL queries to returned records owned by thelogged-in user. 
  • D. Use the with sharing keyword on the class declaration.

Answer: D

Question 2

How many accounts will be inserted by the following block ofcode? for(Integer i = 0 ; i < 500; i++) { Account a = new Account(Name='New Account ' + i); insert a; } 087. Boolean odk; Integer x; if(abok=false;integer=x;){ X=1; }elseif(abok=true;integer=x;){ X=2; }elseif(abok!=null;integer=x;){ X=3; )elseif{ X=4;}

  • A. X=4 
  • B. X=8 
  • C. X=9 
  • D. X=10 

Answer: A

Question 3

Application Events follow the traditional publish-subscribe model. Which method is used tofire an event?

  • A. Fire() 
  • B. Emit() 
  • C. RegisterEvent() 
  • D. FireEvent() 

Answer: A

Question 4

How should a custom user interface be provided when a user edits an Account in LightningExperience?

  • A. Override the Account's Edit button with Lightning Flow 
  • B. Override the Account's Edit button with Lightning Action 
  • C. Override the Account's Edit button with Lightning page. 
  • D. Override the Account's Edit button with Lightning component. 

Answer: D

Question 5

Universal Containers (UC) uses a custom object called Vendor. The Vendor custom objecthas a Master-Detail relationship with the standard Account object. Based on some internaldiscussion, the UC administrator tried to change the Master-Detail relationship to a Lookuprelationship but was not able to do so. What is a possible reason that this change was notpermitted?

  • A. The Account records contain Vendor roll-up summary fields. 
  • B. The Vendor object must use a Master-Detail field for reporting. 
  • C. The Vendor records have existing values in the Account object. 
  • D. The Account object is included on a workflow on the Vendor object. 

Answer: A

Question 6

Which Salesforce feature allows a developer to see when a user last logged in toSalesforce if real-time notification is not required?

  • A. Asynchronous Data Capture Events 
  • B. Developer Log 
  • C. Event Monitoring Log 
  • D. Calendar Events 

Answer: C

Question 7

An Apex method, getAccounts, that returns a List of Accounts given a search Term, isavailable for Lighting Web components to use. What is the correct definition of a LightingWeb component property that uses the getAccounts method?

  • A. @AuraEnabled(getAccounts, ‘$searchTerm’) accountList; 
  • B. @wire(getAccounts, ‘$searchTerm’) accountList; 
  • C. @AuraEnabled(getAccounts, {searchTerm: ‘$searchTerm’}) accountList; 
  • D. @wire(getAccounts, {searchTerm: ‘$searchTerm’}) accountList; 
Question 8

Which salesforce org has a complete duplicate copy of the production org including dataand configuration?

  • A. Developer Pro Sandbox 
  • B. Partial Copy Sandbox 
  • C. Production 
  • D. Full Sandbox 

Answer: D

Question 9

A developer must create a ShippingCalculator class that cannot be instantiated and mustinclude a working default implementation of a calculate method, that sub-classes canoverride. What is the correct implementation of the ShippingCalculator class?

  • A. Public abstract class ShippingCalculator { public override calculate() { /*implementation*/ } } 
  • B. Public abstract class ShippingCalculator { public virtual void calculate() { /*implementation*/ } } 
  • C. Public abstract class ShippingCalculator { public abstract calculate() { /*implementation*/ } } 
  • D. Public abstract class ShippingCalculator { public void calculate() { /*implementation*/ } }

Answer: B

Explanation

the extending class can override the existing virtual methods by using the override keyword in the method definition. Overriding a virtual method allows you to provide a different implementation for an existing method https://developer.salesforce.com/docs/atlas.en%02us.apexcode.meta/apexcode/apex_classes_extending.htm

Question 10

A developer has an integer variable called maxAttempts. The developer meeds to ensurethat once maxAttempts is initialized, it preserves its value for the lenght of the Apextransaction; while being able to share the variable's state between trigger executions. Howshould the developer declare maxAttempts to meet these requirements?

  • A. Declare maxattempts as a member variable on the trigger definition. 
  • B. Declare maxattempts as a private static variable on a helper class 
  • C. Declare maxattempts as a constant using the static and final keywords 
  • D. Declare maxattempts as a variable on a helper class 

Answer: C

About the Salesforce Platform Developer I (PDI) exam

Known for years as Platform Developer I (PDI) and now listed by Salesforce as Salesforce Certified Platform Developer (code Plat-Dev-201), this exam tests your ability to build custom business logic and interfaces with Apex, SOQL, Lightning Web Components and the Salesforce data model, and to test and deploy that code safely.

PDI exam at a glance

  • 60scored questions
  • 105minutes
  • 68%passing score
  • $200exam fee (USD)
Official nameSalesforce Certified Platform Developer
Exam codePlat-Dev-201 (often called PDI or CRT-450)
Question formatMultiple-choice, plus up to 5 unscored questions
DeliveryProctored, at a testing centre or online
PrerequisiteNone
ReleaseQuestions align to Summer ’25

Who the exam is for

The exam is aimed at developers who build on the Salesforce Platform with both declarative tools and code. It suits:

  • Developers moving to Salesforce from Java, C# or JavaScript backgrounds
  • Administrators who have started writing Apex triggers and classes
  • Consultants who need to read, review and test custom code

PDI exam topics and weighting

SectionWeight
Developer Fundamentals27%
Process Automation and Logic28%
User Interface25%
Testing, Debugging, and Deployment20%

Where most marks are: Apex triggers and classes, SOQL and DML inside governor limits, the order of execution, and when to use a flow instead of code. Many questions show a short code sample and ask what it does or why it fails.

How to register

  1. Open the official Salesforce Certified Platform Developer page on Trailhead Academy and choose Register Now.
  2. Sign in with your Trailhead account and pick a testing centre or online proctoring.
  3. Choose a date and time, then pay the registration fee.

How Dumpsforsure helps you prepare

  • Practice questions with answers mapped to the exam sections above.
  • Two formats: a PDF to study offline on any device, and an online test engine with practice and timed exam modes – or get both together.
  • Free sample questions on this page, so you can check the style before you buy.
  • 90 days of free updates if the exam changes after you buy.
  • Money-back guarantee – conditions apply, see our guarantee policy.

Study tips for PDI

  • Write and bulkify your own triggers in a Developer Edition org – most code questions hinge on governor limits and bulk processing.
  • Memorise the save order of execution, and when before and after triggers fire.
  • Practise writing test classes that reach at least 75% coverage, using Test.startTest(), Test.stopTest() and test data factories.
  • Build at least one Lightning Web Component that reads and writes records, so the user interface section feels familiar.

Frequently asked questions

Is PDI the same exam as Plat-Dev-201?

Yes. Platform Developer I is now listed as Salesforce Certified Platform Developer with the exam code Plat-Dev-201. CRT-450 was the older exam code for the same certification.

What is the passing score?

68%, with 60 scored questions plus up to five unscored ones in 105 minutes.

Which programming topics should I focus on?

Apex (classes, triggers, exception handling), SOQL and SOSL, DML, Lightning Web Components and Apex testing. Together they make up most of the exam.

What comes after PDI?

Platform Developer II (Plat-Dev-301), which requires this certification first and focuses on advanced Apex, integration and performance.

Is Dumpsforsure affiliated with Salesforce?

No. Dumpsforsure is an independent provider of study material. Salesforce and Salesforce Certified Platform Developer are trademarks of Salesforce, Inc. and are used only to identify the exam.

Ready to prepare?

Salesforce PDI · 184 questions

Choose a format