Salesforce · PDI
Validates the ability to design, develop, and deploy custom applications on the Salesforce Lightning Platform using Apex, Visualforce, and Lightning Components. Demonstrates proficiency in process automation, user interface development, testing, and deployment.
Practice Questions
600
≈ 10 practice exams
Duration
105 minutes
Passing Score
68%
Difficulty
AssociateLast Updated
Jun 2026
Use this PDI practice exam to prepare for Salesforce Certified Platform Developer I (PDI) with realistic questions, detailed explanations, and focused study modes. The practice bank includes 600 questions for Salesforce PDI, so you can review the exam steadily instead of relying on one long cram session.
As you practice, pay extra attention to recurring topics such as Process Automation & Logic, User Interface (Visualforce & LWC), Developer Fundamentals, Testing & Debugging, and Deployment. Start with short sessions to identify weak areas, then move into timed quizzes once your accuracy is consistent.
The explanations are especially useful when you want to connect exam wording to the responsibilities and scenarios described in the official certification guidance. Use the free preview first, then unlock the full question bank when you are ready to build a complete study routine.
The Salesforce Certified Platform Developer I (PDI) credential validates a developer's ability to design, build, test, and deploy custom applications on the Salesforce Lightning Platform. It covers both declarative and programmatic development techniques, requiring demonstrated proficiency in Apex (Salesforce's proprietary Java-like language), Visualforce, Lightning Web Components (LWC), and Aura Components. Candidates must understand the platform's multi-tenant architecture, the Model-View-Controller (MVC) framework as applied to Salesforce, and governor limits that constrain resource usage in shared environments.
Beyond code, the exam tests knowledge of data modeling with standard and custom objects, SOQL and SOSL query languages, DML operations, process automation tools (such as Flow and approval processes), platform security (sharing rules, profiles, permission sets), and the full deployment lifecycle using Salesforce DX, Change Sets, and the Salesforce CLI. The PDI is considered the foundational developer credential in the Salesforce ecosystem and is a prerequisite stepping stone toward the Platform Developer II and other advanced technical certifications.
This certification is designed for developers who have hands-on experience building custom applications on the Salesforce Lightning Platform—typically those with six months to two years of Salesforce development experience. Ideal candidates work in roles such as Salesforce Developer, Junior Developer, Technical Consultant, or Salesforce Administrator looking to move into a developer track. They should be comfortable writing Apex code, constructing Visualforce pages, and building Lightning Web Components in a professional or sandbox environment.
While developers are the primary audience, the broad scope of knowledge tested makes the certification valuable for Solution Architects, Technical Leads, and even experienced Administrators who want a deeper understanding of the platform's programmatic capabilities. No official prerequisite certification is required, though familiarity with Administrator and Platform App Builder concepts is strongly recommended.
There are no mandatory prerequisite certifications for the PDI exam, but Salesforce recommends that candidates possess the equivalent knowledge covered by the Salesforce Certified Administrator and Salesforce Certified Platform App Builder exams before attempting this credential. A solid grasp of declarative automation tools—Flows, validation rules, formula fields, and approval processes—is essential, as the exam tests when to use declarative versus programmatic solutions.
On the technical side, candidates should have practical experience writing Apex classes, triggers, and unit tests; constructing SOQL and SOSL queries; and working with the Lightning Component framework. Familiarity with object-oriented programming principles (inheritance, polymorphism, collections) and relational database concepts (entity relationships, normalization) is assumed. Salesforce recommends completing the Trailhead Cert Prep: Platform Developer I trail, which consists of four modules covering Fundamentals, Database Modeling, Process Automation, and User Interfaces.
The Salesforce Certified Platform Developer I exam consists of 60 scored multiple-choice and multiple-select questions. Candidates are given 105 minutes to complete the exam. The passing score is 68%, meaning a candidate must correctly answer approximately 41 of the 60 questions. The exam is delivered through Pearson VUE and can be taken either at an authorized testing center or via online proctoring. The registration fee is $200 USD, with a retake fee of $100 USD.
Multiple-select questions require candidates to choose all correct answers from a list (typically two or three correct options out of five), and partial credit is not awarded—all correct choices must be selected. The exam is currently offered in English. Salesforce periodically updates the exam to reflect platform releases; candidates should download the current exam guide PDF from the official Salesforce developer certification site before studying to confirm the latest objective weights.
Earning the Salesforce Certified Platform Developer I credential significantly increases employability in the Salesforce ecosystem, which remains one of the fastest-growing segments of enterprise software. Certified Salesforce Developers in the United States earn average base salaries ranging from approximately $96,000 to $120,000 annually, with senior developers and architects commanding $145,000 or more. The certification provides a verifiable, vendor-recognized signal of competency that distinguishes candidates in a competitive job market and is frequently listed as a requirement or strong preference in Salesforce Developer, Technical Consultant, and Solution Architect job postings.
The PDI also serves as the gateway to more advanced Salesforce technical credentials, including the Salesforce Certified Platform Developer II, JavaScript Developer I, and Salesforce Architect certifications. Organizations that are Salesforce partners track certified headcount to maintain tier status, creating institutional demand for certified professionals. The broader Salesforce services market is projected to exceed $24 billion by 2029, ensuring sustained demand for skilled, credentialed platform developers across industries including financial services, healthcare, retail, and technology.
5 sample questions with answers and explanations. The full bank has 600 questions, enough for 10 full-length practice exams.
Preview — answers shown1. A developer at Universal Containers is designing a data model where a Contact can be associated with many Projects, and a Project can have many Contacts. The developer also needs the Project record to display a count of how many Contacts are currently associated with it. Which two statements are true about implementing this requirement? (Select two!)
Multiple correct answersExplanation
Junction objects use two Master-Detail relationships to implement many-to-many data modeling. When a Master-Detail relationship exists, native roll-up summary fields including COUNT, SUM, MIN, and MAX can be created on the master parent object, allowing the Project record to display a count of associated junction records. The junction object's sharing and security are controlled by its primary parent, which is determined by the first Master-Detail relationship created on the junction object — this is a critical platform behavior when designing record access models. Lookup relationships do not support native roll-up summary fields; achieving similar aggregation over a Lookup relationship requires Apex triggers, Record-Triggered Flows, or third-party tools. A junction object supports up to two Master-Detail relationships plus additional Lookup relationships, not just one Master-Detail.
2. A developer at Universal Containers has written an Apex trigger on the Account object that handles before delete, after delete, before update, and after update events. A system administrator uses the Salesforce UI to merge three duplicate Account records into one master record. Which two trigger events fire on the Account object as a direct result of this merge operation? (Select two!)
Multiple correct answersExplanation
A merge operation fires two distinct sets of trigger events. Delete triggers — both before delete and after delete — fire on the losing records that are being merged away. Update triggers — both before update and after update — fire on the winning master record because its fields are updated with the consolidated data from the merged records. The merge operation does not fire insert triggers on the master record because it already exists. There is no before undelete or after undelete event triggered by a merge. Before delete is not skipped during a merge; it fires exactly as it does during a normal delete operation on the losing records.
3. A developer at AW Computing is optimizing a Batch Apex class that processes hundreds of thousands of records. The developer is comparing synchronous versus asynchronous governor limits to understand which restrictions relax in an async context. Which two governor limits are more generous in an asynchronous execution context compared to a synchronous context? (Select two!)
Multiple correct answersExplanation
In asynchronous Apex contexts such as Batch Apex, Queueable, Scheduled Apex, and future methods, two limits are significantly more generous than in synchronous contexts. SOQL queries double from 100 to 200 per transaction, enabling more complex data retrieval in each execute() invocation. Heap size doubles from 6 MB to 12 MB, allowing larger in-memory collections for bulk processing. DML statements remain at 150 in both contexts, meaning the DML statement limit does not increase in async code. DML rows processed also remain at 10,000 in both contexts. Callout limits remain at 100 in both contexts. Developers should also note that CPU time increases significantly in async contexts, from 10,000 ms to 60,000 ms, providing another important benefit for computation-heavy batch operations.
4. A developer at AW Computing is investigating a synchronous Apex transaction that consistently hits governor limit exceptions due to heavy calculations on large data sets. The team decides to refactor the solution to run asynchronously. Which three governor limits increase when Apex code executes in an asynchronous context compared to a synchronous context? (Select three!)
Multiple correct answersExplanation
Three governor limits increase when Apex runs asynchronously: CPU time increases from 10,000 ms to 60,000 ms enabling long-running complex calculations; the SOQL query limit increases from 100 to 200 queries per transaction allowing more data retrieval; and heap size increases from 6 MB to 12 MB supporting larger in-memory data structures. Critically, the DML statement limit does NOT increase when moving to an asynchronous context — it remains 150 for both synchronous and asynchronous execution. This is a frequently tested distinction because developers often assume all limits increase in async. The maximum @future method calls per transaction stays at 50 regardless of execution context, and the single-query record retrieval limit of 50,000 rows does not change based on sync or async context.
5. At AW Computing, a developer builds a nested LWC structure where accountDashboard is the grandparent, metricsPanel is the child, and salesChart is the grandchild. When a user selects a date range in salesChart, the accountDashboard component must respond to the selection event. The developer does not want to add any event handling code to metricsPanel. Which CustomEvent configuration in salesChart should the developer use? (Select one!)
Explanation
Setting bubbles: true on a CustomEvent allows it to propagate upward through the component hierarchy, enabling accountDashboard (the grandparent) to listen for and handle the event without metricsPanel (the intermediate parent) requiring any event handling code. By default, custom events in LWC do not bubble, meaning only the immediate parent can receive them. Without bubbles: true, accountDashboard would never receive the dateselected event regardless of how its handler is registered. The cancelable property controls whether an event can be prevented with preventDefault and has no effect on propagation direction or reach. Setting composed: false (the default value) does not add bubbling behavior; it controls shadow DOM boundary crossing, which is separate from event bubbling.
Salesforce Certified Advanced Administrator (CRT-211)
CRT-211 · 600 questions
Salesforce Certified Agentforce Specialist (AI-201)
AI-201 · 600 questions
Salesforce Certified Experience Cloud Consultant (EX-Con-101)
EX-Con-101 · 600 questions
Salesforce Certified Marketing Cloud Account Engagement Specialist (MC-201)
MC-201 · 600 questions
Salesforce Certified Marketing Cloud Email Specialist (MC-202)
MC-202 · 600 questions
Salesforce Certified Marketing Cloud Engagement Consultant (MCE-Con-201)
MCE-Con-201 · 600 questions
$17.99
One-time access to this exam