Free Certified Platform Developer II Exam Questions and Answers
Certified Platform Developer II is part of Salesforce certification from Salesforce, through Trailhead Academy. Salesforce credentials are organised into role families — administrator, developer, consultant, architect, designer and marketer — with current exam codes in the Trailhead Academy form Plat-Admn-201, where the trailing number marks the band: 101 foundations, 201 core, 301 advanced, 401 architect.
Candidates comparing Certified Platform Developer II exam dumps, ExamTopics and other practice tests use this page for the answers and explanations behind each question. Download the free PDF, then sit the timed exam simulation before booking with Salesforce.
Last updated: October 5, 2026
- Provider
- Salesforce
- Questions in our bank
- 1000+
- Free to read
- First 10, with answers
- Official page
- Official Exam website
- Our test mode duration & pass mark
- 130 mins · 70%
- Verified answers
- Reviewed weekly
Recommended: Switch to Test Mode to start a practice test that simulates the real exam experience.
Question #1
REST uses .
Correct answer: D
Explanation
Apex REST callouts use the Http class to send a request built with HttpRequest and read the resulting HttpResponse, so all three classes are involved.
Continue with Certified Platform Developer II
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in Certified Platform Developer II, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #2
An org has a custom object, Registeration_c that has a lookup relationship to the Opportunity object. What should a developer use to create a stand-alone Vlsualforce page that displays the Registration c records related to an Opportunity.
Correct answer: D
Explanation
A standard controller on Opportunity lets the stand-alone page display the related Registration records without custom Apex, since the relationship is a lookup.
Continue with Certified Platform Developer II
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in Certified Platform Developer II, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #3
A Developer wishes to improve runtime performance of Apex calls by caching results on the client. What is the best way to implement this?
Correct answer: A
Explanation
Decorating the server-side method with AuraEnabled(cacheable=true) lets the client cache the returned data and improves runtime performance.
Continue with Certified Platform Developer II
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in Certified Platform Developer II, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #4
Which use case can only be performed by using asynchronous Apex?
Correct answer: D
Explanation
A trigger cannot make a callout synchronously, so calling a web service from a trigger must be done with asynchronous Apex such as a Future method.
Continue with Certified Platform Developer II
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in Certified Platform Developer II, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #5
A Visualforce page needs to make a callout to get biding information and tax information from two different REST endpoints. The information needs to be Displayed to the user at the same time and the return value of the billing information contains the input for the tax information callout. Each endpoint might take up to two minutes to process. How should a developer implement the callouts?
Correct answer: A
Explanation
Continuations keep the page under callout limits and let the tax callout follow the billing response, so both long-running callouts finish and display together.
Continue with Certified Platform Developer II
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in Certified Platform Developer II, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #6
A developer is writing unit tests for the following method: Which assertion would be used in a negative test case?

Correct answer: C
Explanation
A negative test case passes input that must not match the expected result, so asserting null for an invalid input is correct. System.assertEquals(null, isFreezing('asdf')) checks the method rejects a non-freezing value.
Continue with Certified Platform Developer II
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in Certified Platform Developer II, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #7
What Salesforce tool lets you deploy/retrieve metadata, check status of apex jobs, and check responses of REST calls?
Correct answer: C
Explanation
Workbench is the web tool that can deploy and retrieve metadata, monitor apex job status, and inspect REST API call responses. The Migration Tool only deploys metadata, while the Developer Console and Streaming API do not cover all three.
Continue with Certified Platform Developer II
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in Certified Platform Developer II, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #8
An org has a requirement that addresses on Contacts and Accounts should be normalized to a company standard by Apex code any time that they are saved. What is the optimal way to implement this?
Correct answer: D
Explanation
Placing a trigger on both Account and Contact that delegates to one helper class keeps the normalization logic in a single place. Having one object's trigger call the other object's trigger is not valid practice in Apex.
Continue with Certified Platform Developer II
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in Certified Platform Developer II, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #9
A developer is integrated with a legacy on-premises SQL database. What should the developer use to ensure the data being integrated is matched to the right records in Salesforce?
Correct answer: D
Explanation
A field marked as an External ID stores the legacy system's unique key and lets upsert match incoming rows to the right Salesforce records. Lookups, formulas and external objects cannot be used as the matching identifier for integration.
Continue with Certified Platform Developer II
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in Certified Platform Developer II, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Question #10
A developer has written an After Update trigger on Account. A workflow rule and field update cause the trigger to repeatedly update the Account records. How should the developer handle the recursive trigger?
Correct answer: C
Explanation
A static Boolean flag set before the trigger performs its update stops the same trigger from running again in the same transaction. A global variable cannot be defined in Apex, and deactivating the workflow rule removes required business logic.
Continue with Certified Platform Developer II
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in Certified Platform Developer II, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
Discussion
Explain your reasoning, not just the letterOther Salesforce certifications
- ADM-201: Administration Essentials for New Admins (opens in a new tab)
- Certified Sales Cloud Consultant (opens in a new tab)
- ADM-211: Administration Essentials for Experienced Admin (opens in a new tab)
- Certified Platform App Builder (opens in a new tab)
- CRT-450: Salesforce Certified Platform Developer I (opens in a new tab)
- Certified Business Analyst (opens in a new tab)
- Certified Marketing Cloud Email Specialist (opens in a new tab)
- Certified Development Lifecycle and Deployment Architect: Certified Development Lifecycleand Deployment Architect (opens in a new tab)
- Certified Industries CPQ Developer (opens in a new tab)
- Certified Tableau CRM and Einstein Discovery Consultant (opens in a new tab)
- Certified Service Cloud Consultant: Salesforce Certified Service Cloud Consultant (opens in a new tab)
- DEV-501: Apex and Visualforce Controllers (opens in a new tab)
Reviews
Write a review★★★★★
Exam Practice is worth every penny. The mock exams are realistic, and the feedback helped me focus on key areas.
Amit SharmaVerified buyer
★★★★★
I highly recommend Exam Practice. The feedback after each test helped me improve significantly, and I passed my exams easily.
Oscar NyströmVerified buyer
★★★★★
This platform is a lifesaver. The practice questions and explanations are so detailed. It’s the best study tool I’ve ever used.
Hannah SmithVerified buyer
FAQ
Learn More: https://trailhead.salesforce.com/en/credentials/administratoroverview/
- Q1: How many questions are on the Salesforce Platform Developer II exam and how long is it?
- A: The real exam has 60 multiple-choice questions plus up to five unscored questions, and you have 120 minutes to complete it.
- Q2: What is the passing score for Platform Developer II?
- A: The passing score is 70%.
- Q3: How much does the Platform Developer II exam cost?
- A: As of October 2026 the registration fee is US$200 or JPY 30,000 plus applicable taxes, and the retake fee is US$100 or JPY 15,000 plus taxes.
- Q4: What are the prerequisites for the Platform Developer II exam?
- A: You must already hold the Salesforce Certified Platform Developer I credential before you can earn Platform Developer II.
- Q5: How is the Platform Developer II exam delivered?
- A: It is a proctored exam that you can take either onsite at a testing center or online in a proctored environment.
- Q6: What topics does the Platform Developer II exam cover?
- A: The exam outline covers advanced developer fundamentals, process automation, logic and integration, user interface, testing, debugging and deployment, and performance on the Salesforce Platform.
- Q7: What is the Certified Platform Developer II exam?
- A: Certified Platform Developer II is a Salesforce certification exam. Judging by the questions in our bank, it concentrates on campaignid, system.debug, developer, visualforce and aggregateresult.
- Q8: What topics does the Certified Platform Developer II exam cover?
- A: Questions in our Certified Platform Developer II bank cluster around campaignid, system.debug, developer, visualforce, aggregateresult, apex, page and ar.get. Working through the full set is the quickest way to find which of these you are weakest on.
- Q9: How should I prepare for Certified Platform Developer II?
- A: Work through the Certified Platform Developer II practice questions here, checking your answer on each one, then sit the practice test to rehearse the exam under timed conditions before the real thing.
- Q10: Are these real Certified Platform Developer II exam questions?
- A: They are drawn from officially released past questions and from community members who have sat Certified Platform Developer II. Answers are verified and updated weekly.
- Q11: Where do I register for the Certified Platform Developer II exam?
- A: Register through Salesforce directly at https://trailhead.salesforce.com/en/credentials/administratoroverview/. Exampractice is not affiliated with Salesforce and does not administer the exam.
- Q12: Is there a free Certified Platform Developer II sample?
- A: Yes. Every Certified Platform Developer II page shows a free sample of real questions. Upgrading opens the full bank and the practice test.
- Q13: What are Salesforce Certification Exams?
- A: Salesforce Certification Exams validate your expertise in using and managing Salesforce’s customer relationship management (CRM) platform. These certifications demonstrate your proficiency in deploying, configuring, and optimizing Salesforce applications to drive business growth and customer engagement.
- Q14: Why should I pursue Salesforce Certification?
- A: Salesforce Certification enhances your professional credibility, showcasing your skills and knowledge in Salesforce solutions. This can lead to better job opportunities, higher salaries, and career advancement in CRM, cloud computing, and IT management roles.
- Q15: What are the benefits of Salesforce Certification?
- A: Benefits include recognition as a certified Salesforce professional, improved job performance, access to exclusive resources, continuing education opportunities, and staying current with the latest Salesforce technologies and best practices.
- Q16: Who should take Salesforce Certification Exams?
- A: CRM administrators, developers, consultants, sales and marketing professionals, and anyone involved in managing and implementing Salesforce solutions should consider these certifications to validate their expertise and advance their careers.
- Q17: What types of Salesforce Certification Exams are available?
- A: Salesforce offers various certification paths, including:
- Q18: How do I prepare for Salesforce Certification Exams?
- A: Preparation can include official Salesforce training courses, study guides, practice exams, online tutorials, and hands-on experience with Salesforce products and solutions.
- Q19: Where can I take Salesforce Certification Exams?
- A: Salesforce Certification Exams can be taken online with remote proctoring or at authorized testing centers worldwide, providing flexibility to fit your schedule and location.
- Q20: How do Salesforce Certifications impact my career?
- A: Salesforce Certifications significantly boost your career by demonstrating your expertise to employers, making you a more competitive candidate for advanced roles and promotions in CRM, cloud computing, and IT management.
- Q21: Are there any prerequisites for Salesforce Certification Exams?
- A: Some exams may have prerequisites, such as foundational knowledge or prior experience with Salesforce products. Check the specific requirements for each certification path on the Salesforce certification website.
- Q22: How often do I need to recertify for Salesforce Certifications?
- A: Salesforce Certifications typically require recertification annually to ensure that certified professionals stay updated with the latest Salesforce technologies and industry practices.



