All Salesforce exams
Salesforce Certified Platform Developer
What the Salesforce Certified Platform Developer exam covers and what it costs, with a free 30-question practice test and an explanation for every answer.
- Exam fee
- $200 USD
- Duration
- 105 minutes
- Questions on the exam
- 60
- Passing score
- 68%
- Level
- Associate
- Topic areas
- 4
- Free practice questions
- 30
- Full question bank
- 112 questions
What the Salesforce Certified Platform Developer exam covers
The topic areas in our Salesforce Certified Platform Developer question bank, with each one's share of the 112 practice questions.
| Topic | Share | Questions |
|---|---|---|
| Process Automation and Logic | 28% | 31 |
| Developer Fundamentals | 27% | 30 |
| User Interface | 25% | 28 |
| Testing, Debugging, and Deployment | 21% | 23 |
Salesforce Certified Platform Developer cost and format
| Certification | Salesforce Certified Platform Developer |
|---|---|
| Vendor | Salesforce |
| Level | Associate |
| Status | Active |
Last checked November 10, 2026 against the official Salesforce exam page.
Salesforce Certified Platform Developer sample questions
The first 5 questions from the free practice test. Open a question to see the answer and why it is right.
Question 1Process Automation and Logic
A developer needs a class-level value that is set once and cannot be reassigned anywhere in the code. Which declaration meets this need?
- Astatic final Integer MAX_ROWS = 100;
- Bpublic Integer MAX_ROWS = 100;
- Cstatic Integer MAX_ROWS = 100;
- Dprivate const Integer MAX_ROWS = 100;
Show answer and explanationHide answer
Correct answer: AThe static modifier ties the value to the class, and final stops it from being reassigned after it is set. The instance field and the plain static field can both be changed, and const is not an Apex keyword.
Question 2Developer Fundamentals
A developer is modeling Project__c records that must always belong to an Account, must be deleted automatically when that Account is deleted, and should take their sharing access from the Account. Which relationship type should be created on Project__c?
- AA master-detail relationship to Account
- BA lookup relationship to Account that is optional
- CA hierarchical relationship to Account
- DAn external lookup relationship to Account
Show answer and explanationHide answer
Correct answer: AA master-detail relationship makes the child required, cascades deletes from the parent, and inherits sharing from it. A lookup is optional with no cascade delete, hierarchical relationships exist only on the User object, and external lookups point to external data rather than Account records.
Question 3User Interface
A Visualforce page displays a comment that a user typed into an apex:outputText component. A tester enters a script tag, and the script must not run in the browser. What default behaviour protects the page?
- AVisualforce strips every character that is not a letter or number from the value before display
- BVisualforce escapes the output by default, so the characters display as text rather than running
- CVisualforce disables all JavaScript on any page that shows data entered by an end user
- DVisualforce stores user input in an encrypted form so that the browser cannot decode the script text
Show answer and explanationHide answer
Correct answer: BVisualforce output components escape special characters by default because the escape attribute is true, so the browser renders the script as plain text. Stripping characters, disabling all JavaScript, or encrypting the input are not how this default protection works.
Question 4Testing, Debugging, and Deployment
Before a team deploys Apex to a production org, it asks what minimum share of Apex code must be covered by tests. Which answer is correct?
- ASeventy-five percent overall coverage of the lines in the org's Apex classes and triggers
- BFifty percent overall coverage of the lines in the org's Apex classes and triggers
- CNinety percent coverage of the lines in each individual Apex class and trigger in the org
- DOne hundred percent coverage of the lines in each individual Apex class and trigger in the org
Show answer and explanationHide answer
Correct answer: AProduction deployments require at least 75 percent overall Apex code coverage across the org. Fifty percent falls below the required threshold, while the 90 and 100 percent options describe targets that are not the minimum requirement.
Question 5Process Automation and Logic
A developer defines a global interface named Notifier with one method, send(). Which statement describes how a class must use this interface?
- AThe class uses extends and inherits the send() body from the interface
- BThe interface is instantiated with new, and the class calls send() on that instance
- CThe class uses implements and must provide its own body for send()
- DThe class receives send() automatically without code if it sits in the same namespace
Show answer and explanationHide answer
Correct answer: CA class uses implements and must write a body for every method the interface declares, because Apex interfaces contain only method signatures. extends is for classes, interfaces cannot be instantiated, and no implementation is supplied automatically.
How to prepare for Salesforce Certified Platform Developer
- Read the official Salesforce outline first (exam page), so you know exactly what is in scope.
- Give the most time to Process Automation and Logic and Developer Fundamentals: together they make up 55% of the questions.
- Take the free 30-question practice test and note which topics you miss.
- Go back to the weak topics, then test again. A practice score shows where to study; it does not predict your exam result.
Full Salesforce Certified Platform Developer question bank
All 112 questions with answers and explanations, as a PDF, an online practice exam, or both.
The full 112-question bank for Salesforce Certified Platform Developer is in final review. The free practice test is open now.
Start the free practice testSalesforce Certified Platform Developer FAQ
Related exams
| Exam | Vendor | Level |
|---|---|---|
| Salesforce Certified Agentforce Specialist | Salesforce | Associate |
| Salesforce Certified Platform Administrator | Salesforce | Associate |
| Salesforce Certified Tableau Next Consultant | Salesforce | Professional |
| Salesforce Certified Marketing Cloud Next Consultant | Salesforce | Professional |
| Salesforce Certified Platform App Builder | Salesforce | Associate |
| Salesforce Certified Data 360 Consultant | Salesforce | Professional |
