100+ Free Salesforce Platform Developer II Practice Questions
Pass your Salesforce Certified Platform Developer II (PDII) exam on the first try — instant access, no signup required.
What is the purpose of System.runAs() in Apex tests?
Explore More Salesforce Certifications
Continue into nearby exams from the same family. Each card keeps practice questions, study guides, flashcards, videos, and articles in one place.
More From This Family
Videos and articles for deeper review.
Key Facts: Salesforce Platform Developer II Exam
60
Scored Questions
Salesforce exam guide (+ up to 5 non-scored)
120 min
Time Limit
Salesforce exam guide
70%
Passing Score
Salesforce official
$200
Exam Fee
Salesforce pricing (retake $100)
2-4 yrs
Recommended Experience
Salesforce exam guide
PD I
Prerequisite
Platform Developer I credential
The Platform Developer II exam consists of 60 multiple-choice/multiple-select questions plus up to 5 non-scored questions in 120 minutes. The passing score is 70%, registration costs $200 USD with a $100 retake fee, and it requires the Platform Developer I credential. Five domains are tested: Process Automation, Logic, and Integration (27%), User Interface (20%), Testing, Debugging, and Deployment (20%), Performance (18%), and Advanced Developer Fundamentals (15%). The exam is proctored onsite or online via Pearson VUE.
Sample Salesforce Platform Developer II Practice Questions
Try these sample questions to test your Salesforce Platform Developer II exam readiness. Each question includes a detailed explanation. Start the interactive quiz above for the full 100+ question experience with AI tutoring.
1A developer needs to process 10 million records nightly. Which asynchronous Apex pattern is MOST appropriate?
2When implementing Database.Stateful in a Batch Apex class, what is the primary effect?
3A developer wants to chain asynchronous jobs so that Job B starts after Job A completes. Which approach is BEST?
4What is the governor limit for SOQL queries in a synchronous Apex transaction?
5A developer needs to expose a custom Apex method as a REST endpoint. Which annotation should be used on the class?
6When writing a Lightning Web Component (LWC), which decorator exposes a property as a public API that a parent component can set?
7A developer needs to make a callout to an external REST API from within an Apex trigger. What is the correct approach?
8In a Lightning Web Component, how does a child component communicate an event to a parent component?
9A developer writes a test class for a Batch Apex class. How should the batch job be tested?
10Which design pattern is recommended for trigger implementation on the Salesforce platform?
About the Salesforce Platform Developer II Exam
The Salesforce Certified Platform Developer II validates advanced programmatic capabilities on the Lightning Platform including design patterns, complex business logic, integration, performance optimization, and testing strategies. Candidates typically have 2-4 years of hands-on Salesforce development experience and must hold the Platform Developer I credential as a prerequisite.
Questions
60 scored questions
Time Limit
2 hours (120 minutes)
Passing Score
70%
Exam Fee
$200 (Salesforce / Pearson VUE)
Salesforce Platform Developer II Exam Content Outline
Process Automation, Logic, and Integration
Asynchronous Apex (Batch, Queueable, Future, Scheduled), Platform Events, REST/SOAP services, callouts, and flow integration
User Interface
Lightning Web Components, Aura, Visualforce, component communication, lifecycle hooks, and responsive design
Testing, Debugging, and Deployment
Apex test strategies, mock frameworks, negative testing, deployment tools, Salesforce DX, and CI/CD practices
Performance
Governor limits optimization, SOQL tuning, bulkification, caching, large data volumes, and heap management
Advanced Developer Fundamentals
Design patterns, sharing model, dynamic Apex, custom metadata, multi-currency, and security enforcement
How to Pass the Salesforce Platform Developer II Exam
What You Need to Know
- Passing score: 70%
- Exam length: 60 questions
- Time limit: 2 hours (120 minutes)
- Exam fee: $200
Keys to Passing
- Complete 500+ practice questions
- Score 80%+ consistently before scheduling
- Focus on highest-weighted sections
- Use our AI tutor for tough concepts
Salesforce Platform Developer II Study Tips from Top Performers
Frequently Asked Questions
What is the passing score for Salesforce Platform Developer II?
The passing score is 70%. The exam has 60 scored multiple-choice/multiple-select questions plus up to 5 non-scored questions. You have 120 minutes to complete it.
What are the prerequisites for Platform Developer II?
You must hold the Salesforce Certified Platform Developer I credential. Salesforce recommends 2-4 years of hands-on development experience with at least one year of Lightning Platform design and implementation.
How much does the Salesforce PDII exam cost?
Registration is $200 USD plus applicable local taxes. The retake fee is $100 USD. The exam is available onsite at Pearson VUE testing centers or online with proctoring.
What is the highest-weighted domain on the PDII exam?
Process Automation, Logic, and Integration is the highest-weighted domain at 27%. Focus on asynchronous Apex patterns (Batch, Queueable, Future, Scheduled), Platform Events, callouts, and invocable methods.
How long is the PDII certification valid?
The certification is valid for 3 years from the date you pass. You need to maintain it through continuing education (Trailhead maintenance modules) or retake the exam.
How should I prepare for the Platform Developer II exam?
Focus on design patterns, async Apex (all four types), LWC lifecycle and communication patterns, governor limit optimization, and test strategies including mocks. Hands-on practice in a scratch org is essential.