Updated for Winter '26
New to this track? Our Salesforce Certified Platform Developer I exam prep is the required first step. See our certification path to understand where this certification fits. Below you'll find exam weightage, study tips, and practice questions. See our full study guide for deep section coverage. Ready to book? Read our exam tips and study plan.
Join 2.1K+ passed this month • Updated for 2026 • No sign-up required
$200 exam • ~65% passing score • Free practice
Exam Fees & Registration
Exam Fee
$200
One-time registration fee
Retake Fee
$100
If you need to retake the exam
Comparing certs? View all Salesforce exam fees in one place →
Certification Validity
Your Salesforce Certified Platform Developer II certification is valid for 3 years from the date you pass the exam. You'll need to maintain your certification through continuing education or retake the exam.
How to Register
Register for the Salesforce Certified Platform Developer II (PD2) exam through the official Salesforce certification portal.
Register for ExamSalesforce Certified Platform Developer II – Complete Winter '26 Guide
The Platform Developer II certification validates your advanced development skills including design patterns, testing strategies, and integration techniques.
Required Prerequisite
You must complete this certification before attempting this one.
Salesforce Certified Platform Developer II Exam Weightage by Section
Exam Topics
Exam Tips
- 1Architecture and Logic are heavily weighted—design patterns, trigger frameworks, async Apex.
- 2Know when to use Queueable, Batch, Future, and Scheduled Apex.
- 3Understand namespaced packages, unlocked packages, and dependency management.
- 4Be ready for “how would you design?” and “what is the best approach?” questions.
Prerequisites
- •Salesforce Certified Platform Developer I
- •2+ years development experience
Focus Areas
- •Architecture and Design Patterns
- •Advanced Apex and LWC
- •Testing and Deployment
- •Integration
Study Strategy
Focus on design and best practices, not just syntax.
Review trigger frameworks, dependency injection, and package development.
Practice explaining trade-offs.
Exam Format and First-Attempt Readiness
Most Salesforce exams test scenario-based decisions. For Salesforce Certified Platform Developer II, focus on when to use each feature, not just terms.
- Do timed question sets. Build pacing and confidence.
- Review why wrong answers are wrong. It improves scenario reasoning.
- Study high-weight topics first. Then close gaps.
- Book the exam when your mock scores are steady.
Platform Developer II: Key Concepts for the Exam
Design Patterns for Enterprise Apex
The exam tests four core patterns. Singleton ensures one shared class instance per transaction — used for handler registries and settings caches. Factory creates objects dynamically based on runtime type. Strategy encapsulates interchangeable algorithms in separate classes — ideal for pricing or routing logic that varies by record type. Trigger Handler separates trigger logic from business logic, enabling testable, single-responsibility handler classes. Know which pattern a given code smell or requirement maps to.
Asynchronous Apex: Choosing the Right Context
@future — simplest async, no complex parameters, no chaining, no job IDs. Queueable — supports complex sObject parameters, job chaining (enqueue from finish), and returns AsyncApexJob ID. Batch Apex — processes up to 50 million records in chunks; implement Database.Stateful to retain instance variables across iterations; chain in finish() via Database.executeBatch(). Schedulable — time-based entry point; use to kick off Batch or Queueable. The exam presents a scenario and asks which context is appropriate.
Integration: Callouts, Named Credentials, and Platform Events
Callouts cannot be made from synchronous triggers — use @future(callout=true) or Queueable with Database.AllowsCallouts. Named Credentials store the endpoint URL and authentication credentials securely, referenced in Apex as callout:NamedCredName. Platform Events provide loosely coupled, fire-and-forget publish/subscribe messaging — publishers do not wait for subscribers. Change Data Capture streams record change events to external systems without polling. The exam tests when each mechanism is appropriate.
Testing Strategy: Setup, Mocking, and Coverage
@TestSetup creates test data once for all test methods in the class, preventing repeated DML and improving performance. Test.startTest() / Test.stopTest() resets governor limits for the code under test and forces async jobs to complete. Mock callouts using HttpCalloutMock (implement the interface) or StaticResourceCalloutMock (use a static resource JSON file). System.assert patterns: assertEquals(expected, actual), assertNotEquals, assertTrue — always provide a meaningful message. 75% code coverage is required for deployment.
Security in Apex: Sharing, FLS, and AuraEnabled
with sharing enforces the running user's sharing rules; without sharing bypasses them; inherited sharing inherits from caller context. Classes default to without sharing if unspecified — a PD2-level trap. FLS enforcement: use Schema.SObjectType.getDescribe().fields.getMap() to check field accessibility, or stripInaccessible() to filter query results. @AuraEnabled exposes methods to LWC and Aura components — always combine with FLS and sharing checks. CRUD checks require Schema.SObjectType.Account.isCreateable() style checks.
How to Pass the Salesforce Platform Developer II Exam
The PD2 exam requires deep technical expertise — questions assume you can read and reason about code, not just identify syntax. Focus on complex governor limit scenarios, asynchronous patterns, integration architecture, and enterprise design principles.
Asynchronous Apex Mastery
Know all four async patterns: Queueable (chainable, stateful), Batch (large data sets), Scheduled (time-based), and Future (simple async). Understand governor limits in async contexts (higher SOQL/DML limits) and when each pattern is appropriate.
Integration Architecture Decisions
REST vs. SOAP vs. Platform Events vs. Change Data Capture — know the use cases for each. Understand outbound messaging, callout limits, Named Credentials, and how to handle integration errors gracefully.
Platform Events & Event-Driven Architecture
Know how Platform Events enable event-driven, decoupled architectures. Understand the difference between Platform Events and CDC, how to publish events from Apex and Flows, and how subscribers process events reliably.
LWC Advanced Patterns
Understand component communication patterns: parent-to-child via properties, child-to-parent via custom events, and sibling communication via a shared service. Know when to use @wire vs. imperative Apex calls.
Testing Architecture
PD2 emphasizes test design: mock callouts with Test.setMock, test data isolation (SeeAllData=false), testing async Apex with Test.startTest/stopTest, and achieving meaningful code coverage vs. superficial coverage.
Exam Section Difficulty Heatmap
Which sections are a gimme vs which ones trap confident candidates. Use this to prioritise your final-week revision.
| Exam Section | Difficulty | Study Tip |
|---|---|---|
| Data Modeling | Moderate | Advanced data model patterns and large data volume — know governor limits and best practices. |
| Architecture | Hard | Design patterns, platform limits, and when to use async vs sync — scenario-heavy. |
| Logic and Process Automation | Trap ⚠ | Invocable methods, triggers, and queueable — execution order and context are commonly tested. |
| User Interface | Moderate | LWC best practices and accessibility — know when to use @api vs @track. |
| Testing and Deployment | Hard | Test design and coverage requirements — meaningful assertions and negative testing. |
| Integration | Moderate | REST, callouts, and platform events — know limits and error handling. |
Difficulty based on analysis of common candidate errors across each exam section.
Get the Full PD2 Question Bank
Most candidates book the exam after scoring 75%+ on full mocks.
If you're planning to test this quarter, aim to complete full mocks at least 10–14 days before your exam date.
Candidates who complete full mock exams report strong first-time pass rates. For pricing and access, use the contact form below or kindly reach out to km.krishnamohan25@gmail.com.
Get Full Question BankNext Certifications After Developer
After this certification, common next steps in the developer track:
Developer Track Resources
- PD1 vs PD2: Key Differences →What gets harder in PD2 and when you are ready to attempt it.
- PD1 Exam Tips →Governor limits, bulkification, and mock-test benchmarks. Still relevant as PD2 prerequisite review.
Salesforce Certified Platform Developer II (PD2) Exam FAQs
- What is covered on the Salesforce Certified Platform Developer II (PD2) exam?
- The Salesforce Certified Platform Developer II (PD2) exam—formerly Salesforce Certified Platform Developer II— covers section-wise weightage as shown above. Use the exam topics and practice questions on this page to align your study with the official outline.
- What is the difference between Platform Developer I and Platform Developer II?
- Platform Developer I focuses on basic Apex, LWC, and testing. Platform Developer II covers advanced topics like design patterns, architecture, advanced Apex, async processing, and package development. You need PD1 first.
- How difficult is Platform Developer II compared to Developer I?
- Platform Developer II is significantly more challenging. It requires deep understanding of design patterns, architecture decisions, advanced Apex concepts, and best practices. Most candidates need 2+ years of development experience.
- What is the PD2 passing score and exam fee in Winter '26?
- The Platform Developer II (PD2) exam has 60 multiple-choice questions, 120 minutes, and a passing score of 65%. The exam fee is $200 USD (retake $100 USD). PD1 certification is a mandatory prerequisite — you cannot sit PD2 without it.
- What design patterns are tested in Platform Developer II?
- PD2 tests applied knowledge of: Singleton (one instance per transaction), Strategy (swappable algorithms), Decorator (extending behaviour), Factory (object creation patterns), and Service Layer / Selector / Domain patterns (FFLib enterprise architecture). Expect scenario questions where you must choose the right pattern for a given constraint.
- What is the difference between Future, Batch, Queueable, and Scheduled Apex?
- Future: runs async after the current transaction completes; limited to one record at a time and cannot be chained. Batch: processes large data sets in chunks (up to 50 million records); best for data migration and bulk operations. Queueable: like Future but supports chaining, complex state, and accepts objects. Scheduled: triggers Queueable or Batch at a set time using the Schedulable interface. PD2 expects you to choose the right tool per scenario.
- Are there free practice questions for the Salesforce Certified Platform Developer II (PD2) exam?
- Yes. This page includes 15 free sample practice questions with explanations. Use them to test your knowledge before booking the exam.
- How do I prepare for the Salesforce Certified Platform Developer II (PD2) certification?
- Use the exam tips, prerequisites, and study strategy on this Salesforce Certified Platform Developer II (PD2) study guide—formerly Salesforce Certified Platform Developer II— Focus first on the highest-weighted sections, then take the sample practice questions. Schedule the exam when you consistently score well on practice tests.
- Where can I find the official exam outline for Salesforce Certified Platform Developer II (PD2)?
- Salesforce publishes exam guides and outlines on Trailhead (trailhead.salesforce.com). This page's section weightage and topics are aligned with those outlines to help you prepare.