Salesforce certification practice

Free PDII Practice Test

10 free PDII exam-style questions for Salesforce Certified Platform Developer II, with answers, explanations and source references.

Last updated

Full set: 198 questions

The Salesforce Certified Platform Developer II exam, often shortened to PDII, is for developers who build advanced programmatic solutions on the Salesforce Platform. Candidates must already hold the Platform Developer certification. The exam has 60 multiple-choice questions, plus up to five unscored ones, in 120 minutes, and the passing score is 70%. Salesforce states that the questions align to the Winter '24 release.

Process Automation, Logic, and Integration is the largest domain at 27% of the exam. User Interface and Testing, Debugging, and Deployment each make up 20%, Performance accounts for 18%, and Advanced Developer Fundamentals for 15%. Give the automation and integration domain the most practice time, but treat testing, deployment and performance as substantial parts of the exam rather than side topics.

Use the free practice questions below to test how you apply Apex, Lightning and integration concepts to specific scenarios. Answer each question before you check it, then read the explanation in full, even when you chose correctly. Keep track of the domains where you miss questions and review those areas before you take another pass.

What is the optimal way to fix this? A) Salesforce Platform Developer - PDII question B) Salesforce Platform Developer - PDII question C) Salesforce Platform Developer - PDII question D) Salesforce Platform Developer - PDII question
Answer options
Refer to the test method below: Salesforce Platform Developer - PDII question The test method calls an @future method that increments the Number_of_Times_Viewed__c value. The assertion is failing because the Number of Times Viewed_c equals 0. What is the optimal way to fix this?
Answer options

Which three Visualforce components can be used to initiate Ajax behavior to perform partial page updates? Choose 3 answers

Answer options
A user receives the generic "An internal server error has occurred” while interacting with a custom Lightning component. What should the developer do to ensure a more meaningful message?
Answer options
A developer is asked to develop a new AppFxchange application. A feature of the program creates Survey records when a Case reaches a certain stage and is of a certain Record Type. This feature needs to be configurable, as different Salesforce instances require Surveys at different times. Additionally, the out-of-the-box AppExchange app needs to come with a set of best practice settings that apply to most customers. What should the developer use to store and package the custom configuration settings for the app?
Answer options
Consider the controller code below that is called from an Aura component and returns data wrapped in a class. Salesforce Platform Developer - PDII question The developer verified that the queries return a single record each and there is error handling in the Aura component, but the component is not getting anything back when calling the controller getSemeData. ‘What is wrong?
Answer options
Universal Containers implements a private sharing model for the Convention Attendee co custom object. As part of a new quality assurance effort, the company created an Event_Reviewer_c user lookup field on the object. Management wants the event reviewer to automatically gain ReadWrite access to every record they are assigned to. What is the best approach to ensure the assigned reviewer obtains Read/Write access to the record?
Answer options
Universal Containers develops a Visualforce page that requires the inclusion of external JavaScript and C55 files. They want to ensure efficient loading and caching of the page. Which feature should be utilized to achieve this goal?
Answer options
A developer is trying to access org data from within a test class. Which sObject type requires the test class to have the (seeAllData=true) annotation?
Answer options
A company has a Lightning page with many Lightning Components, some that cache reference dat a. It is reported that the page does not always show the most current reference data. What can a developer use to analyze and diagnose the problem in the Lightning page?
Answer options
Question 1 of 10
Browse Salesforce exams

About the exam

PDII exam at a glance

Key facts for the Salesforce Certified Platform Developer II exam, taken from the official exam page.

Exam codeWinter '24 release
Number of questions60
Time allowed120 minutes
Passing score70%
Question typesMultiple-choice (plus up to five unscored questions)
Exam priceUS$200 (JPY 30,000) plus applicable taxes; retake US$100 (JPY 15,000)
DeliveryProctored exam, onsite at a testing center or online
PrerequisitesSalesforce Certified Platform Developer certification
Validity and renewalComplete the certification maintenance badge on Trailhead once a year or the certification expires

Source: official PDII exam page. Verified . Prices and policies can change, so confirm with the provider before booking.

Exam objectives

What the PDII exam covers

The PDII exam is organized into 5 official domains. Weight shows the share of the exam each domain represents, so spend your study time in proportion.

  1. Advanced Developer Fundamentals 15%
  2. Process Automation, Logic, and Integration 27%
  3. User Interface 20%
  4. Testing, Debugging, and Deployment 20%
  5. Performance 18%

Domains and weights from the official PDII exam outline.

Quick answers

PDII exam FAQ

How many questions are on the PDII exam?

The PDII exam has 60 questions and gives you 120 minutes to finish. Question types include multiple-choice (plus up to five unscored questions).

What is the passing score for PDII?

You need 70% to pass the Salesforce Certified Platform Developer II exam.

How much does the PDII exam cost?

The PDII exam costs US$200 (JPY 30,000) plus applicable taxes; retake US$100 (JPY 15,000). Check the official exam page for the price in your country.

How long is the PDII certification valid?

Complete the certification maintenance badge on Trailhead once a year or the certification expires.

Source context

How this practice set is maintained

Maintained by the CertMage content team, this page loads questions from the exam dataset connected to its preparation resource. When an answer includes a supporting reference, it is shown with that answer so you can review the underlying vendor documentation.

Certification objectives, interfaces, and vendor services can change. Verify important details against the provider's current exam guide and documentation before your exam.

Reviewed by ITIL v4 Expert, PMP, Salesforce Certified Administrator, SAP CAA

Scroll to Top