PDII
PDII Salesforce Platform Developer II practice exams
290 questions in 5 timed practice tests. Each test has about 60 questions and a 120-minute limit. The pass mark is 70%. Results are split across the 5 exam domains.
Exam at a glance
| Practice tests | 5 |
|---|---|
| Questions in total | 290 |
| Questions per test | About 60 |
| Time limit per test | 120 minutes |
| Pass mark | 70% |
| Question types | Single answer and multiple answer (29 multiple-answer questions) |
| Level | Professional |
| Category | Business Platforms |
These are the settings of our practice tests. Check the official Salesforce exam page for the current exam format before you book.
Domains and weights
| Domain | Weight | Weight bar | Questions in our bank |
|---|---|---|---|
| Advanced Developer Fundamentals | 15% | 44 | |
| Process Automation, Logic, and Integration | 27% | 78 | |
| User Interface | 20% | 58 | |
| Testing, Debugging, and Deployment | 20% | 58 | |
| Performance | 18% | 52 |
Sample questions
Question 1 of 3
A developer writes an Apex class declared 'public with sharing class InvoiceService' that calls a method in 'public inherited sharing class InvoiceSelector'. The selector is also invoked directly from an Aura-enabled method in a class that has no sharing keyword at all. Which sharing context does the selector run in for each caller?
- A Without sharing from InvoiceService, because sharing keywords only apply to the outermost class of the transaction
- B With sharing from InvoiceService, and without sharing from the Aura-enabled class because that caller omits the keyword
- C Without sharing in both cases, because inherited sharing defers to the system context of the Apex runtime
- D With sharing in both cases, because each caller enforces sharing and inherited sharing adopts the caller's mode (correct answer)
Question 2 of 3
An integration must react in near real time to every change of Opportunity Stage made by any user, API or automation, and the external subscriber should receive the changed fields with a header that identifies the operation. Which feature requires the LEAST custom code?
- A Configure an outbound message from a record-triggered flow on Opportunity update
- B Create a PushTopic on Opportunity and subscribe through the Streaming API in Apex
- C Enable Change Data Capture for Opportunity and subscribe through the Pub/Sub API (correct answer)
- D Write an after update trigger that publishes a custom platform event per change
Question 3 of 3, choose 2
A developer writes an Apex trigger on a platform event, Shipment_Update__e. The trigger occasionally fails because a downstream record is locked by another process. Which two techniques let the trigger recover without losing events? (Choose two.)
- A Wrap the trigger body in Database.setSavepoint() and roll back to it, which causes the platform to redeliver the events
- B Decrease the batch size of the event subscription to 1 so that the platform automatically retries every failed event
- C Use FOR UPDATE in the trigger's SOQL so the event trigger waits indefinitely until the competing lock is released
- D Call EventBus.TriggerContext.currentContext().setResumeCheckpoint(replayId) after each processed event so a restart resumes after it (correct answer)
- E Throw EventBus.RetryableException so the batch of events is redelivered later, up to the platform retry limit (correct answer)
See all 10 free PDII questions with answers Read them or quiz yourself.
What your score report looks like
Example attempt, PDII practice test 3
77%
Passed
Pass mark 70%
| Domain | Weight | Your score | % |
|---|---|---|---|
| Advanced Developer Fundamentals | 15% | 88 | |
| Process Automation, Logic, and Integration | 27% | 81 | |
| User Interface | 20% | 76 | |
| Testing, Debugging, and Deployment | 20% | 58 | |
| Performance | 18% | 84 |
Study next: Testing, Debugging, and Deployment. It is below the pass mark and carries 20% of the exam.
Study plans
Two weeks
- Day 1: take practice test 1 in exam mode to get a baseline.
- Days 2 to 5: domain mode on Process Automation, Logic, and Integration and User Interface, the two most heavily weighted domains.
- Day 6: practice test 2 in exam mode, then the mistakes quiz.
- Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
- Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.
Four weeks
- Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
- Week 2: domain mode on those two domains, then a second practice test in exam mode.
- Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
- Week 4: practice test 5 and final mode until your readiness holds above the pass mark.
Questions about the PDII practice exams
- Are these real PDII exam questions?
- No. We write every question ourselves and map it to the published PDII exam objectives. We do not use leaked or recalled questions.
- Do the time limit and pass mark match the official exam?
- They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.
- Can I try it before I pay?
- Yes. The free mini exam has 15 questions with full explanations and needs no account.
- How long do I keep access?
- A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.
- What happens after I finish a test?
- You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.
Related exams
| Exam | Vendor | Level | Questions | Minutes | Price |
|---|---|---|---|---|---|
| SASalesforce Agentforce | Salesforce | Specialty | 300 | 105 | $14.99 |
| Analytics-101Salesforce Tableau Desktop Foundations (Analytics-101) | Salesforce | Foundational | 225 | 70 | $9.99 |
| MSMDIMULESOFT-DEV-I Salesforce MuleSoft Developer I | Salesforce | Associate | 300 | 120 | $12.99 |
| CADServiceNow Application Developer (CAD) | ServiceNow | Associate | 300 | 90 | $12.99 |
| CSAServiceNow CSA | ServiceNow | Associate | 300 | 90 | $12.99 |
| UiPath-ADAv1UiPath Pro Automation Developer Assoc. (UiPath-ADAv1) | UiPath | Professional | 300 | 90 | $14.99 |