Free Salesforce Certified Platform Developer Exam Practice Questions
200 free questions · Answer explanations · No signup required
View examination details, outline and sourcesLoading selected examination banks…
Sample Practice Questions
Try these 10 sample questions from the Salesforce Certified Platform Developer Exam practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1What does multitenancy mean in the Salesforce platform architecture?
- A. Each customer operates a separate installed platform.
- B. Customers share underlying platform resources.
- C. All customers share access to the same business records.
- D. Each application requires its own physical database server.
Answer: B
Explanation: Salesforce explains, "really all it means is that you’re sharing resources." Multitenancy concerns shared infrastructure; it does not make one tenant’s records available to other tenants.
Reference: Understand the Salesforce Architecture — Sharing Is Caring in the Multitenant Cloud
2Which flow type supplies a guided interface that collects user input during a business process?
- A. Schedule-Triggered Flow
- B. Platform Event-Triggered Flow
- C. Screen Flow
- D. Autolaunched Flow (No Trigger)
3For an Apex custom controller compiled at API 64.0, which statement describes its default database execution context when no user mode is explicitly requested?
- A. It automatically enforces every UI field restriction.
- B. It grants only permissions of the record owner.
- C. It always executes DML with AccessLevel.USER_MODE.
- D. It uses system mode with elevated object and field access.
4An API 64.0 Apex test uses default data isolation and queries ordinary Account business records that existed before the test. What test-data approach should it use instead of depending on those records?
- A. Create its own required Account test records.
- B. Set SeeAllData=false to expose pre-existing Account records.
- C. Rely on another test method's inserted Account records.
- D. Reuse a prior test method's static record IDs without creating data.
Answer: A
Explanation: The guide states, "By default, Apex test methods (API version 24.0 and later) can’t access pre-existing org data". Setup and metadata objects are exceptions, but ordinary Account business records should be created by the isolated test.
Reference: Apex Developer Guide — Testing Apex > Isolation of Test Data from Organization Data in Unit Tests, p. 688
5Which item is metadata rather than a business record value in a Salesforce org?
- A. The amount entered on an opportunity
- B. The postal address entered for a contact
- C. The date stored on an individual case
- D. The definition of a custom currency field
6An automation should start whenever an Opportunity is created or updated, without a user launching it. Which flow type uses those data-change triggers?
- A. Record-Triggered Flow
- B. Screen Flow
- C. Autolaunched Flow (No Trigger)
- D. Schedule-Triggered Flow
7An API 64.0 Apex controller declares with sharing. Which additional protection is still needed when it queries sensitive fields?
- A. Explicitly enforce object and field permissions for the data.
- B. Rely on with sharing to authorize every queried field.
- C. Check record ownership in place of object and field access.
- D. Check object read access while ignoring field permissions.
Answer: A
Explanation: The guide states, "Enforcing sharing rules by using the with sharing keyword doesn’t enforce the user’s permissions and field-level security." Record sharing and object/field authorization are separate layers.
Reference: Apex Developer Guide — Working with Data in Apex > Enforce Sharing Rules, p. 209
8Two methods in a test class need the same initial records. The first test modifies them, but the second must see their original baseline. Which setup mechanism provides this behavior?
- A. A production data import before each deployment
- B. One static variable holding a record ID across all test methods
- C. A @testSetup method that creates the common records
- D. A dependency on the first test method running before the second
Answer: C
Explanation: The guide states, "The next executing test method gets access to the original unmodified state of those records." @testSetup creates shared baseline data whose per-test mutations are rolled back, avoiding test-order dependencies.
Reference: Apex Developer Guide — Testing Apex > Using Test Setup Methods, p. 693
9How does the Aura component model organize an application's user interface?
- A. As self-contained, reusable units that compose the interface
- B. As indivisible whole-page units that cannot be nested
- C. As data-model definitions from which record layouts are inferred
- D. As controller classes with presentation supplied only by Visualforce
Answer: A
Explanation: The guide states, "Aura components are the self-contained and reusable units of an app." Components compose the interface at different granularities; they are not indivisible whole pages, data-model definitions, or controller-only definitions requiring Visualforce presentation.
10A flow must start every night at a specified time even if no record changed. Which trigger should be configured?
- A. A record creation trigger
- B. A platform event trigger
- C. A screen's Next button
- D. A schedule trigger
Topics in this practice bank
These topics describe the available practice for Salesforce Certified Platform Developer Exam. Review the examination outline and its sources for scope and allocation details.
Developer Fundamentals
- Multi-tenant concepts and design frameworks
- Declarative versus programmatic customizations
- Data modeling and access
- Agentforce for Developers use cases and limitations
Process Automation and Logic
- Declarative process automation capabilities
- Apex declarations and interfaces
- Apex control flow
- SOSL, SOQL, and DML in Apex
- Apex class and trigger best practices
- Governor limits and Apex transactions
- Transactions, execution order, recursion, and cascading
- Apex exception handling
- Combining declarative functionality and Apex
User Interface
- User interface and data access security
- Displaying and using custom user interface components
- Lightning Web Component use cases and best practices
- Apex integration with page components
Testing, Debugging, and Deployment
- Writing and executing tests with test data
- Salesforce Developer tools
- Debugging and monitoring
- Deployment environments, requirements, and process
How to use these free practice questions
Choose an answer, check the explanation, and review your progress by chapter. Practice questions and explanations are free to access without signing up.
These are independent study questions, not actual examination items. For examination requirements and official information, view Salesforce Certified Platform Developer Exam details.