The PDF demo for the PDII exam can be downloaded and printed out as you like, so you can review sample questions from the Salesforce Platform Developer II collection on paper, on a train, or over coffee. PassCollection designed this preview to match how busy candidates actually study in 2026.
Salesforce PDII Exam Overview:
| Certification Vendor: | Salesforce |
|---|---|
| Exam Name: | Salesforce Certified Platform Developer II |
| Exam Number: | PDII |
| Exam Format: | Multiple Choice, Multi-Select |
| Exam Price: | $200 USD |
| Related Certifications: | Salesforce Certified Platform Developer I |
| Real Exam Qty: | 62 |
| Exam Duration: | 120 minutes |
| Certificate Validity Period: | No expiration, but maintenance required |
| Passing Score: | 65% |
| Available Languages: | English |
| Sample Questions: | ![]() |
| Exam Way: | Online proctored or in-person testing center |
| Pre Condition: | Candidate should have experience as a Platform Developer I and at least 6-12 months of hands-on Salesforce development experience |
| Official Syllabus URL: | https://trailhead.salesforce.com/en/credentials/platformdeveloperiiexam |
Salesforce PDII Exam Syllabus Topics:
| Section | Weight | Objectives |
|---|---|---|
| Topic 1: Lightning Component Framework | 14% | - Use Lightning Data Service to perform CRUD operations - Use @track decorator and reactive properties correctly - Implement inheritance using base components - Debug Lightning component issues using browser developer tools - Use component events and application events appropriately |
| Topic 2: Performance | 12% | - Use caching mechanisms (Platform Cache, View State) - Optimize Apex and SOQL queries - Identify and resolve performance bottlenecks - Implement bulkify patterns |
| Topic 3: Testing and Debugging | 14% | - Use Developer Console and debugging tools - Analyze debug logs and resolve issues - Implement mock implementations for testing - Write Apex test classes with proper coverage |
| Topic 4: Apex Programming | 18% | - Handle exceptions and implement error handling - Write and execute Apex triggers - Design and implement integration patterns - Use asynchronous Apex (future methods, queueable, batch) - Implement best practices for trigger logic |
| Topic 5: Integration | 14% | - Handle integration errors and retry logic - Implement OAuth 2.0 authentication flows - Use REST API and SOAP API in Apex - Use Named Credentials and External Data Sources - Implement outbound messaging and callouts |
| Topic 6: Salesforce Platform Fundamentals | 14% | - Understand the order of execution - Implement sharing and access control - Understand Salesforce architecture and Governor Limits - Use Process Builder and Flow appropriately |
| Topic 7: Data Modeling and Management | 14% | - Handle large data volumes with indexing and partitioning - Design complex data models with relationships - Use schema builder and relationship queries - Implement custom metadata and custom settings |
PDII Exam FAQ: Key Details Before You Prepare
The PDII exam is the official test for the Salesforce Platform Developer II certification from Salesforce. It measures whether you can apply the skills described in the exam objectives to realistic scenarios. Earning the credential shows employers that your knowledge has been checked against a recognized industry standard, which is why many candidates treat it as essential armor in a competitive job market.
The passing score for the PDII exam is 65%, and the exam fee is $200 USD. Because retakes mean paying the fee again, most candidates prefer to prepare thoroughly first — working through practice questions with expert-verified answers until the exam format feels familiar is a common approach.
PassCollection focuses on doing a few things well: practice questions aligned with the real PDII exam format, answers verified by experienced experts, free updates for 365 days after purchase, and a support team available around the clock. You can check all of this yourself before buying, because every product page offers a free demo that you can download and even print. There is no pressure and no obligation — the demo exists so you can make up your own mind.
According to the official outline, the main domains of the PDII exam include:
- Apex Programming (18%)
- Integration (14%)
- Salesforce Platform Fundamentals (14%)
The 163 practice questions for the Salesforce Platform Developer II exam at PassCollection are organized around these objective areas, so your review time maps directly onto what the exam actually tests.
The PDII exam contains 62 questions and allows 120 minutes minutes to complete them. That works out to limited time per question, so practicing under similar time pressure beforehand helps you pace yourself on the real day.
Candidate should have experience as a Platform Developer I and at least 6-12 months of hands-on Salesforce development experience
Yes. PassCollection provides a free demo for the PDII exam product, and all demos on the site are free of charge. The PDF demo can be downloaded to your device and printed out if you prefer reviewing on paper. Trying the demo first is the easiest way to confirm that the question style, difficulty, and layout match what you need for the Salesforce Platform Developer II exam — no payment and no commitment required.
Salesforce Platform Developer II Sample Questions:
After a platform event is defined in a Salesforce org, events can be published via which mechanism?
- A. External Apps use an API to publish event messages.
- B. Internal Apps can use entitlement processes.
- C. External Apps require the standard Streaming API.
- D. Internal Apps can use outbound messages.
Correct Answer: A 🗳️
Explanation: Only visible for PassCollection members. You can sign-up / login (it's free).
Consider the following code snippet:
Java
01 public with sharing class AccountsController{
03 @AuraEnabled
04 public List<Account> getAllAccounts(){
05 return [Select Id, Name, Industry FROM Account];
06 }
08 }
As part of the deployment cycle, a developer creates the following test class:
Java
@isTest
private class AccountsController_Test{
@TestSetup
private static void makeData(){
User user1 = [Select Id FROM User WHERE Profile.Name = 'System Administrator' ... LIMIT 1]; User user2 = [Select Id FROM User WHERE Profile.Name = 'Standard User' ... LIMIT 1]; TestUtils.insertAccounts(10,user1.Id); TestUtils.insertAccounts(20,user2.Id);
}
@isTest
private static void testGetAllAccounts(){
// Query the Standard User into memory
List<Account> result = AccountsController.getAllAccounts();
System.assertEquals(20,result.size());
}
}
When the test class runs, the assertion fails. Which change should the developer implement in the Apex test method to ensure the test method executes successfully?
- A. Query the Standard User into memory and enclose lines 15 and 16 within the System.runAs(user) method.
- B. Query the Administrator user into memory and enclose lines 15 and 16 within the System.runAs(user) method.
- C. Add System.runAs(User) to line 14 and enclose line 15 within Test.startTest() and Test.stopTest().
- D. Add @IsTest(seeAllData=true) to line 12 and enclose lines 15 and 16 within Test.startTest() and Test.
stopTest().
Correct Answer: A 🗳️
Explanation: Only visible for PassCollection members. You can sign-up / login (it's free).
A company wants to allow support managers to see all cases in the org, regardless of who owns them.
However, they want to support agents to only see cases they own or cases owned by someone in their role or a subordinate role. Which sharing solution should a developer use to achieve this requirement?
- A. Role hierarchy
- B. Sharing sets
- C. Apex managed sharing
- D. Criteria-based sharing rules
Correct Answer: A 🗳️
Explanation: Only visible for PassCollection members. You can sign-up / login (it's free).
As part of a custom interface, a developer team creates various new Lightning web components. Each of the components handles errors using toast messages. During acceptance testing, users complain about the long chain of toast messages that display when errors occur loading the components. Which two techniques should the developer implement to improve the user experience?
- A. Use the window.alert() method to display the error messages.23
- B. Use a Lightning web component to aggregate and display all errors.
- C. Use public properties on each component to display the error messages.25
- D. Use a <template> tag to display in-place error messages.24
Correct Answer: B,D 🗳️
Explanation: Only visible for PassCollection members. You can sign-up / login (it's free).
A developer wants to write a generic Apex method that will compare the Salesforce Name field between any two object records. For example, to compare the Name field of an Account and an Opportunity; or the Name of an Account and a Contact. Assuming the Name field exists, how should the developer do this?4
- A. Cast each object into an sObject and use sObject.get('Name') to compare the Name fields.1112
- B. Use a String.replace() method to parse the contents of each Name field and then compare the results.567
- C. Invo13ke a Schema.describe() function to compare the14 values of each Name field.
- D. Use the Salesforce Metadata API to extrac8t the value of each object and compare the Name fields.910
Correct Answer: A 🗳️
Explanation: Only visible for PassCollection members. You can sign-up / login (it's free).
Viewing page 1 out of 33 pages.
Viewing questions 1-5 out of 163 questions.






