SALESFORCE · Platform Developer

Salesforce Platform Developer Exam Practice Questions

439 questionsInstant PDF downloadUpdated September 2026

US$39

Try 10 questions free

Card, Apple Pay or Google Pay. Your PDF is sent by email as soon as you check out.

Pass or your money backFail the exam after using this pack and we refund it. How the guarantee works
Category:
TRY BEFORE YOU BUY

Three of the 439 questions in this pack

Question 1

Which statement results in an Apex compiler error?

  1. Map<Id,Leas> lmap = new Map<Id,Lead>([Select ID from Lead Limit 8]);
  2. Date d1 = Date.Today(), d2 = Date.ValueOf('2018-01-01');
  3. Integer a=5, b=6, c, d = 7;
  4. List<string> s = List<string>{'a','b','c');
Show answer and explanation

Correct answer: D. List<string> s = List<string>{'a','b','c');

A list literal has to be constructed with the new keyword and closed with the same kind of bracket it opened with. Option D writes List<string> s = List<string>{'a','b','c'); which omits new and closes a brace with a parenthesis, so the compiler rejects it before the code ever runs. The other three lines are legal Apex: multiple variables of one type can be declared and initialised in a single statement, and a declared variable may be left unassigned.

Why the other options are wrong

  • A. This compiles. Leas is read as an unresolved type name only if no such type exists, and the exam prints this line as Map<Id, Lead>, so the statement is a valid map construction from a SOQL result.
  • B. Declaring two Date variables in one statement and initialising them with Date.today() and Date.valueOf() is valid Apex.
  • C. Apex allows several variables of the same type in one declaration, and leaving c uninitialised is legal because it simply defaults to null.

Question 2

A method is passed a list of generic sObjects as a parameter. What should the developer do to determine which object type (Account, Lead, or Contact, for example) to cast each sObject?

  1. Use the first three characters of the sObject ID to determine the sObject type.
  2. Use the getSObjectType method on each generic sObject to retrieve the sObject token.
  3. Use the getSObjectName method on the sObject class to get the sObject name.
  4. Use a try-catch construct to cast the sObject into one of the three sObject types. ✅Correct Answer: B, Use the getSObjectType method on each generic sObject to retrieve the sObject token. Every sObject instance exposes getSObjectType(), which returns the Schema.SObjectType token for that record's object. Calling it on each generic sObject tells the code exactly what it is holding, and the token can then be compared against Account.SObjectType, Lead.SObjectType and so on, so each record can be cast to the right concrete type. It is the supported, describe-driven way to branch on object type.
Show answer and explanation

Answer and explanation for question 2

Question 3

What should a developer use to implement an automatic Approval Process submission for Cases?

  1. An Assignment Rule
  2. Scheduled Apex
  3. Process Builder
  4. A Workflow Rule
Show answer and explanation

Correct answer: C. Process Builder

Process Builder can submit a record for approval as one of its actions, so a Case can be entered into an Approval Process automatically when the process criteria are met. That makes it the declarative tool built for this exact requirement.

Why the other options are wrong

  • A. Assignment Rules route a Case to a user or queue. They have no approval submission action.
  • B. Scheduled Apex is code, and the requirement is served by a declarative feature. It also runs on a schedule rather than on the record event.
  • D. A Workflow Rule cannot submit a record for approval. Its actions are limited to field updates, email alerts, tasks and outbound messages.

See all 10 free questions Get the full pack, US$39

439 practice questions for Salesforce Certified Platform Developer, with full explanations.

Every question comes with the correct answer, a clear explanation, and a note on why each other option is wrong. Mapped to the current exam objectives, covering the limit, trigger and order-of-execution scenarios that make up most of the paper.

  • 439 questions mapped to the Platform Developer exam objectives
  • Answers and explanations for every question, including the wrong options
  • A questions-only PDF for timed practice runs
  • Instant delivery by email the moment you check out
  • Free monthly updates for as long as the exam is live
  • Pass or your money back

A failed Platform Developer attempt costs another US$200, plus the time it takes to prepare again. This pack is US$39, paid once, and refunded if you fail.

Try 10 questions free before you buy.

Last updated September 2026 · 439 questions

What makes the Platform Developer hard

Developers from other stacks often walk into Platform Developer expecting a coding exam and find a platform exam instead. Apex syntax is the easy part.

What decides it: governor limits and how to bulkify around them, the order of execution when a record saves, trigger patterns that avoid recursion, and knowing when the platform wants declarative automation instead of code at all. Add SOQL versus SOSL, the 75% test coverage rule and what actually counts toward it, and Lightning Web Component fundamentals, and the exam becomes a test of how Salesforce thinks, not how well you write loops.

60 scored questions plus 5 unscored in 105 minutes, with a 68% pass mark. This pack covers the exact limit, trigger and order-of-execution scenarios that fill the paper.

About the exam

Platform Developer validates building custom applications on the Salesforce Platform: Apex, SOQL, Lightning Web Components, and declarative-versus-programmatic design decisions. There are no prerequisites. It is maintained through free Trailhead maintenance modules.

Exam domains

  • Developer fundamentals: 27%
  • Process automation and logic: 28%
  • User interface: 25%
  • Testing, debugging and deployment: 20%

60 scored questions plus 5 unscored, 105 minutes, passing score 68%, US$200 per attempt (US$100 retake), taken online proctored or at a test centre.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Questions before you buy

What do I get when I buy the Salesforce Platform Developer pack?

439 practice questions as a PDF, each with the correct answer, a full explanation and a note on why the other options are wrong, plus a separate questions-only PDF for timed practice.

How quickly do I receive it?

Straight away. The full PDF and a questions-only copy are emailed to you the moment your payment goes through, and the same links are on your order page.

Is there a free sample?

Yes. Ten questions from this pack, with answers and explanations, are free on this page and as a PDF, so you can judge the quality before you pay.

Are updates included?

Yes. The pack is updated every month for as long as the exam is live, and updates are free for everyone who has bought it.

What if I fail the exam?

We refund the pack. Sit the exam 7 to 30 days after buying, then send your official score report within 7 days of the exam date, as set out in the refund policy.

Can I share it with colleagues?

Each purchase is licensed to one person. For a team, school or training organisation, email support@certstash.com for a licence that fits.