• Cert++
  • Practice
  • Certle
  • Review
  • Resources
    • Packs
    • Checklists
    • Guides
  • Upgrade
  • About
  • Community
  • Support
  • Changes
  • Legal
  • Light mode

Cert++

  1. Home
  2. Study Resources
  3. Platform Developer II
Resource Pack
·Study Checklist

Platform Developer II

4-Step Path to Passing

  1. 1
    Complete the
    PD2 Trailmix
  2. 2
    Look at the
    Study Checklist
    Every concept you need to know for your exam, available for free to check off as you learn.
  3. 3
    Attempt
    Practice Exams
  4. 4
    Schedule Your Exam

Core Resources

  • Cert++ Practice Exam (1 free exam per cert, then paid)

    Free practice questions with detailed explanations. $10/mo for access to all questions, features, and certifications.

    certplusplus.com

  • Daily Certle Game (3 free questions per day)

    Practice your Salesforce certification knowledge daily with a challenge inspired by Wordle. Topics might not perfectly align with your preferred exam, but there's a lot of overlap between the certs.

    certplusplus.com

  • Focus on Force PD2 Study Guide (Paid)

    Detailed topic guides and practice questions covering all five PD2 exam domains.

    focusonforce.com

  • Official Trailmix

    Salesforce's curated Trailmix for the Platform Developer II credential, covering the official Trailhead study path.

    trailhead.salesforce.com

  • Official Exam Guide

    Salesforce Help page with the official exam outline, objectives, format, and current exam details.

    help.salesforce.com

  • Apex Developer Guide

    Official Salesforce Apex reference for syntax, governor limits, classes, triggers, testing, and APIs.

    developer.salesforce.com

  • LWC Developer Guide

    Official LWC documentation covering component model, wire adapters, event handling, and security.

    developer.salesforce.com

  • Apex Enterprise Patterns (FFLib) on GitHub

    Canonical implementation of Service, Domain, and Selector layer patterns referenced on the PD2 exam.

    github.com

  • Salesforce Stack Exchange

    Community Q&A for advanced Apex scenarios, trigger patterns, async Apex, and integration edge cases.

    salesforce.stackexchange.com

  • r/salesforce

    Salesforce subreddit for discussions, career questions, certification tips, and community support.

    reddit.com

  • Cert++ Discord

    The Cert++ community discord for Salesforce professionals. Exam prep, resource sharing, study groups, and more.

    discord.gg

  • Trailblazer Community

    Connect with other Salesforce learners for peer support, mentoring, and study groups.

    trailhead.salesforce.com

  • SFXD Discord

    Large Salesforce developer community discord with channels for Apex, LWC, integrations, and career advice.

    discord.gg

  • Salesforce Certification Score Calculator

    Check your exam score based on section results. Estimates your total score from category percentages (community-maintained third-party tool).

    scuvanov.github.io

Exam Overview

From the official exam guide

Questions

65

60 scored5 unscored

Duration

120 min

2h

To Pass

65%

Min. score

Pricing

$200 registration · $100 retake

Delivery

Online proctored or at a testing center

Experience

PD1 plus hands-on Apex development experience recommended

Prerequisites

None required, Platform Developer I recommended

Exam Topics

Each topic section shows the topic weight, learning objectives, and links to study resources.

Advanced Developer Fundamentals15%

Apex sharing model, with sharing and without sharing keywords, Apex managed sharing objects, custom metadata types vs. custom settings, localization and multi-currency impacts on Apex code.

  • Demonstrate knowledge of localization and multi-currency features and capabilities and how they affect coding.
  • Given a scenario, justify using sharing objects and Apex managed sharing.
  • Given a scenario, identify best practices for various types of custom metadata and custom settings, and how to implement required solutions.

Resources

  • Use Apex to Automate Business Processes

    Hands-on project writing Apex to query, insert, and update records in a business process scenario.

    trailhead.salesforce.com

  • Custom Metadata Types Basics

    What custom metadata types are, how they differ from custom settings, and declarative setup.

    trailhead.salesforce.com

  • Programmatic Development with Custom Metadata Types

    Querying CMTs in Apex, deploying records, packaging, manageability, and metadata relationships.

    trailhead.salesforce.com

  • Configure Your App with Custom Metadata Types

    End-to-end trail: declarative setup, formula fields, validation rules, flows, and Apex with CMTs.

    trailhead.salesforce.com

  • Secure Serverside Development

    Apex sharing keywords (with sharing, without sharing, inherited sharing), FLS enforcement, SOQL injection, and CRUD checks.

    trailhead.salesforce.com

  • Discover Multiple Currency Settings

    Multi-currency org setup, advanced currency management, CurrencyIsoCode field, and dated exchange rates.

    trailhead.salesforce.com

  • Apex Basics and Database

    Apex syntax, sObjects, DML operations, SOQL and SOSL query basics, and governor limits.

    trailhead.salesforce.com

  • Apex Fundamentals for Developers

    Apex class structure, access modifiers, collections, exception handling, and static vs. instance context.

    trailhead.salesforce.com

Process Automation, Logic, and Integration27%

Declarative vs. programmatic solution selection, save order of execution, Apex trigger best practices and handler pattern, error handling and transaction control, advanced SOQL features, asynchronous Apex selection (Future, Queueable, Batch, Scheduled), dynamic Apex, platform events, and REST/SOAP callout patterns.

  • Given a scenario, identify the considerations of interactions between multiple processes, both declarative and programmatic.
  • Given a scenario, propose and justify the optimal programmatic or declarative solution.
  • Demonstrate knowledge of the best practices for writing Apex triggers.
  • Describe the Apex features available for error handling and maintaining transactional integrity.
  • Demonstrate how and where to use advanced keywords in a SOQL query structure.
  • Analyze a set of requirements and determine the benefits of using asynchronous Apex coding.
  • Given a scenario and requirements, identify the appropriate dynamic Apex feature to use in the solution.
  • Given a scenario, identify the appropriate publish / subscribe logic for platform events.
  • Given a scenario, apply programmatic integration techniques and platform features for inbound and outbound communication.

Resources

  • Build an Instant Notification App

    End-to-end project: define, publish, and subscribe to platform events using Apex and LWC.

    trailhead.salesforce.com

  • Superbadge: Apex Callouts

    Develop and test Apex REST and SOAP callouts to external systems in a real-world scenario.

    trailhead.salesforce.com

  • Superbadge: Apex Web Services

    Develop custom REST and SOAP APIs in Apex for inbound integration from external systems.

    trailhead.salesforce.com

  • Apex Triggers

    Trigger syntax, context variables, before and after triggers, and bulk-safe trigger design patterns.

    trailhead.salesforce.com

  • Write SOQL Queries

    SOQL syntax, relationship queries, aggregate functions, SOSL comparison, and query best practices.

    trailhead.salesforce.com

  • Move from SQL to SOQL

    Relationship queries, semi-joins, anti-joins, GROUP BY, HAVING, FOR UPDATE, and dynamic SOQL.

    trailhead.salesforce.com

  • Asynchronous Apex

    Future methods, Batch Apex, Queueable Apex, Scheduled Apex, and monitoring async jobs.

    trailhead.salesforce.com

  • Platform Events Basics

    Event-driven architecture, defining and publishing platform events, subscribing via Apex triggers and LWC.

    trailhead.salesforce.com

  • Apex Integration Services

    Outbound REST and SOAP callouts, inbound REST and SOAP web services, and named credentials.

    trailhead.salesforce.com

  • Apex Enterprise Patterns: Service Layer

    Separation of concerns, Service Layer pattern, Unit of Work pattern for bulkified DML and rollback.

    trailhead.salesforce.com

  • Apex Enterprise Patterns: Domain and Selector Layers

    Domain Layer for business logic encapsulation, Selector Layer for query abstraction.

    trailhead.salesforce.com

  • Platform Events Debugging

    Retrying failed triggers, checkpoints for resilience, and best practices for platform event triggers.

    trailhead.salesforce.com

  • Design Event-Driven Apps for Real-Time Integration

    Change Data Capture, platform events, streaming API, and pub/sub patterns for real-time data flows.

    trailhead.salesforce.com

  • Use Pub/Sub API

    Pub/Sub API, event bus replay, managed subscriptions, and CDC vs. platform events distinctions.

    trailhead.salesforce.com

  • Understand Execution Context

    Execution context, trigger context, governor limits per transaction, and static variable state.

    trailhead.salesforce.com

  • Record-Triggered Flows

    When to choose flows vs. Apex triggers, Flow Trigger Explorer, and interaction order with Apex.

    trailhead.salesforce.com

User Interface20%

LWC component model, @wire adapter patterns, LWC to Apex communication, custom events and Lightning Message Service, Aura component events and interoperability with LWC, Visualforce partial page refreshes and @RemoteAction, static resources, and error display patterns.

  • Given requirements and code snippets for a Lightning web component or Aura component and its Apex controller class, analyze and determine necessary changes to the Apex class.
  • Identify the techniques for using Visualforce to perform actions, partial page refreshes, and asynchronous operations.
  • Given a scenario, identify best practices for displaying errors in the user interface.
  • Given a set of requirements, select the appropriate Lightning web component, Aura component, or Visualforce solution and describe its benefits.
  • Given a scenario, describe the aspects of Lightning web components or Aura components that can be used to cause elements in a component's markup to display in a responsive manner based on a device's form factor.
  • Given a scenario, implement the correct method to communicate events through Lightning web components or Aura components.
  • Describe the purpose and benefit of static resources in Visualforce, Lightning web components, and Aura components.

Resources

  • Communicate Between Lightning Web Components

    Parent-child properties, public methods, custom events, and Lightning Message Service for unrelated components.

    trailhead.salesforce.com

  • Quick Start: Lightning Web Components

    Developer environment setup and first LWC component build with VS Code and SFDX.

    trailhead.salesforce.com

  • Lightning Web Components Basics

    LWC component model, @api, @track, @wire decorators, lifecycle hooks, and event handling.

    trailhead.salesforce.com

  • Lightning Web Components and Salesforce Data

    Lightning Data Service, @wire with Apex, imperative Apex calls, and server error handling.

    trailhead.salesforce.com

  • Lightning Web Components for Aura Developers

    LWC vs. Aura comparison: markup, JavaScript, events, data access, and interoperability.

    trailhead.salesforce.com

  • Build Lightning Web Components

    Full LWC trail: component basics, data, events, testing, and best practices.

    trailhead.salesforce.com

  • Use Static Resources

    Creating, uploading, and referencing static resources in Visualforce, LWC, and Aura components.

    trailhead.salesforce.com

  • Migrate from Aura to Lightning Web Components

    Aura to LWC migration: markup, CSS, JavaScript, events, and data access pattern equivalents.

    trailhead.salesforce.com

  • LWC for Visualforce Developers

    Transitioning from VF controller/extension patterns to LWC: navigation, data access, and component structure.

    trailhead.salesforce.com

  • Build Secure Apps with Lightning Web Components

    LWC security model, locker service, and secure coding patterns for client-side components.

    trailhead.salesforce.com

  • Handle Events in Lightning Web Components

    CustomEvent, event propagation (bubbling vs. composed), parent-child communication patterns.

    trailhead.salesforce.com

  • Handle Server Errors

    Wired property and function error handling, AuraHandledException, and user-facing error display.

    trailhead.salesforce.com

Testing, Debugging, and Deployment20%

Advanced Apex test techniques (mock HTTP callouts, Stub API, StubProvider, @testSetup), Jest testing for LWC (@wire mocking, component mocking), debug log analysis, VS Code and Developer Console debugging, source-driven development with SFDX, scratch orgs, and unlocked packages.

  • Apply advanced techniques and tools for testing Apex classes and triggers, such as mocks and stubs.
  • Apply techniques and tools for testing and debugging Lightning web components, Aura components, and Visualforce controllers, Visualforce controller extensions, and JavaScript.
  • Given a scenario, Apex code, Apex trigger, or Apex test that is not executing as expected, apply techniques and tools to isolate and identify the root cause.
  • Given a scenario, formulate the deployment process, supporting tools, and mechanisms for source-driven development.

Resources

  • Create Permission Sets for Unlocked Packages

    Use Salesforce CLI to include permission sets in unlocked packages and deploy to scratch orgs.

    trailhead.salesforce.com

  • Set Up Your Lightning Web Components Developer Tools

    VS Code, SFDX CLI, and browser extension setup for LWC development and debugging.

    trailhead.salesforce.com

  • Apex Testing: Prepare for Unit Testing

    Test data setup patterns, @testSetup methods, test data factories, and test isolation best practices.

    trailhead.salesforce.com

  • Apex Testing: Write Unit Tests

    Full coverage tests, specialized tests (negative, permission-based), and mock and stub objects.

    trailhead.salesforce.com

  • Advanced Apex Testing

    Mock object pattern, Stub API and StubProvider interface, HttpCalloutMock, StaticResourceCalloutMock.

    trailhead.salesforce.com

  • Lightning Web Components Tests

    Jest setup, writing LWC unit tests, @wire adapter mocking, and component mocking techniques.

    trailhead.salesforce.com

  • Developer Console Basics

    Executing Apex, reading debug logs, log inspector, checkpoint inspection, and SOQL query console.

    trailhead.salesforce.com

  • Troubleshoot Lightning Web Components

    LWC debugging tools, browser DevTools integration, network troubleshooting, and performance profiling.

    trailhead.salesforce.com

  • Package Development Model

    Salesforce DX project structure, scratch orgs, source-driven development, and package.xml vs. source format.

    trailhead.salesforce.com

  • Unlocked Packages for Customers

    Package development benefits, creating and versioning unlocked packages, and upgrading deployments.

    trailhead.salesforce.com

  • Org Development Model

    Org-based deployment with VS Code, change set alternatives, and source control integration.

    trailhead.salesforce.com

  • Debug and Run Diagnostics

    Debug log levels, log categories, Log Inspector views, and VS Code debugger integration.

    trailhead.salesforce.com

  • Cert Prep: Platform Developer: Testing, Debugging, and Deployment

    Exam-focused review: test coverage, debug tools, deployment tools, and sandbox types.

    trailhead.salesforce.com

Performance18%

LWC UI performance techniques, selective SOQL queries and indexes, large data volume patterns, Batch Apex chunking, Platform Cache, asynchronous callout performance improvements, code reuse patterns (inheritance vs. composition), and identifying Apex inefficiencies.

  • Identify the common performance issues for user interfaces and demonstrate knowledge of techniques and tools to mitigate them.
  • Given a scenario, choose the appropriate logic and query structure to maximize application performance and handle large data volumes.
  • Analyze a given scenario and determine performance improvements that can be achieved with an asynchronous callout.
  • Select scenarios where code reuse is applicable and how the reuse should be implemented.
  • Given sample code, identify inefficiencies and demonstrate the ability to resolve them.

Resources

  • Superbadge: Security and Performance

    Design a data model addressing security and performance requirements together in a real scenario.

    trailhead.salesforce.com

  • Platform Cache Basics

    Org cache vs. session cache, cache partitions, storing and retrieving Apex data, and cache best practices.

    trailhead.salesforce.com

  • Write Efficient Queries

    Selective filters, standard and custom indexes, query optimizer, and large data volume SOQL patterns.

    trailhead.salesforce.com

  • Best Practices in Lightning Web Components

    Caching with @wire, progressive disclosure, conditional rendering, and minimizing unnecessary re-renders.

    trailhead.salesforce.com

  • Performance Troubleshooting in Lightning Web Components

    LWC profiling tools, identifying rendering bottlenecks, and resolving performance issues in the browser.

    trailhead.salesforce.com

  • Use Batch Apex

    Batch Apex syntax, Database.Stateful for state preservation, chunking large data volumes, and scheduling.

    trailhead.salesforce.com

  • Control Processes with Queueable Apex

    Queueable Apex syntax, chaining jobs, passing complex types, and Queueable vs. Future trade-offs.

    trailhead.salesforce.com

  • Lightning Experience Performance Optimization

    EPT metrics, Lightning Usage App, identifying slow pages, and improving page load times.

    trailhead.salesforce.com

  • Bulk Apex Triggers

    Bulk trigger design patterns, bulkified SOQL and DML, and avoiding governor limit violations.

    trailhead.salesforce.com

  • ApexGuru

    AI-assisted Apex code scanning to identify SOQL in loops, metadata retrieval issues, and common anti-patterns.

    trailhead.salesforce.com

  • Walk Through a Sample Application and Discover Cache Diagnostics

    Cache diagnostics, cache key design, and best practices for managing cached data in Apex.

    trailhead.salesforce.com

  • Apex REST Callouts

    HttpRequest, HttpResponse, callout limits, and converting synchronous callouts to async with Future/Queueable.

    trailhead.salesforce.com

Have suggestions for this resource pack?

To help make this the ultimate resource compilation for the exam, please give your thoughts in the free Cert++ Discord.

Suggest a resource