Practice questions · Salesforce & CRM

Salesforce Platform Developer I: Practice Questions

intermediate 45 questions

Original practice questions for the Salesforce Platform Developer I (PD1) exam. Each answer is explained, including why each other option is wrong. Filter by section or difficulty. These are concept checks - not questions from the certification.

By The Exam Atlas Editorial Team · Verified 2026-08-05 · ~56 min

  1. Developer Fundamentals medium

    Why does the Salesforce platform enforce governor limits on Apex code?

  2. Developer Fundamentals medium

    A developer needs a field on a parent record that automatically sums a currency field from its child records, without writing code. What does this require?

  3. Developer Fundamentals easy

    Which statement correctly describes a master-detail relationship?

  4. Developer Fundamentals medium

    A team loads customer data nightly from an external ERP system and must match existing Salesforce records using the ERP's own account number. Which platform feature supports this directly?

  5. Developer Fundamentals easy

    In the Model-View-Controller (MVC) pattern as applied to the Salesforce platform, which element plays the role of the model?

  6. Developer Fundamentals medium

    A requirement can be met either with a record-triggered flow or with an Apex trigger of similar complexity. Following Salesforce's recommended approach, what should the developer usually consider first?

  7. Developer Fundamentals medium

    A developer is evaluating Agentforce for a customer-service scenario. Which statement best reflects how developers should approach it?

  8. Developer Fundamentals medium

    A company needs to relate many candidate records to many job-position records. What is the standard way to model this many-to-many relationship?

  9. Developer Fundamentals easy

    What is an sObject in Apex?

  10. Developer Fundamentals hard

    Which statement about formula fields is accurate?

  11. Developer Fundamentals hard

    How does the Salesforce platform's metadata-driven architecture affect custom applications?

  12. Developer Fundamentals easy

    Which of these is a declarative (point-and-click) customisation rather than a programmatic one?

  13. Process Automation and Logic easy

    A developer must find every account whose name contains a text fragment, and also search the same term across contacts and leads in one operation. Which query language fits the multi-object text search?

  14. Process Automation and Logic medium

    What does the upsert DML operation do?

  15. Process Automation and Logic medium

    A trigger contains a SOQL query inside a for loop that iterates over Trigger.new. Why is this a problem?

  16. Process Automation and Logic medium

    In a before update trigger, what does Trigger.new contain?

  17. Process Automation and Logic medium

    When should a developer choose a before trigger rather than an after trigger?

  18. Process Automation and Logic easy

    Which Apex collection should a developer use to associate each account ID with its account record for fast lookup?

  19. Process Automation and Logic hard

    During the save order of execution for an updated record, which sequence is correct?

  20. Process Automation and Logic hard

    An update trigger performs a DML update on the same records, causing the trigger to fire again. What is a common pattern to prevent unbounded recursion?

  21. Process Automation and Logic easy

    Which Apex construct lets a developer handle a DML failure gracefully instead of letting an unhandled exception end the transaction?

  22. Process Automation and Logic medium

    A requirement involves complex branching logic, callouts to an external web service and heavy data transformation, with no screen needed. Which implementation is most appropriate?

  23. Process Automation and Logic medium

    What does an Apex interface provide?

  24. Process Automation and Logic hard

    A developer declares an Apex class using the with sharing keyword. What is the effect?

  25. Process Automation and Logic medium

    An org must process millions of records nightly with logic too complex for declarative tools. Which asynchronous option is designed for this volume?

  26. User Interface easy

    For building a brand-new custom user interface component on the Lightning Platform, which framework does Salesforce position as the modern default?

  27. User Interface medium

    A Lightning web component needs data that only an Apex method can provide. What must be true of the Apex method for the component to call it?

  28. User Interface hard

    When a Lightning web component uses the @wire decorator to call an Apex method, how does the data arrive?

  29. User Interface medium

    Inside a Lightning web component hierarchy, how does a child component typically send information up to its parent?

  30. User Interface medium

    A developer must display and edit a single record in a Lightning web component without writing any Apex. Which approach achieves this?

  31. User Interface easy

    Which statement best describes Visualforce today?

  32. User Interface hard

    An Apex method serves data to a custom component, and some users must not see certain fields. What is the developer's responsibility?

  33. User Interface easy

    Which declarative tool can present a multi-step, wizard-style user interface that collects input from users without custom code?

  34. User Interface medium

    Compared with the Aura framework, what is a key architectural advantage of Lightning Web Components?

  35. User Interface hard

    Two components in different parts of a Lightning page, not in the same component hierarchy, need to exchange messages. Which feature is designed for this?

  36. User Interface medium

    How can a developer extend an AI agent's abilities so it can take actions specific to their org, such as running custom business logic?

  37. Testing, Debugging, and Deployment easy

    What is the minimum overall Apex test coverage required to deploy code to a production org?

  38. Testing, Debugging, and Deployment medium

    By default, what data can an Apex test method see when it runs?

  39. Testing, Debugging, and Deployment medium

    What is the main purpose of calling Test.startTest() and Test.stopTest() in a test method?

  40. Testing, Debugging, and Deployment medium

    A test class achieves high code coverage but contains no assertions. What is the problem?

  41. Testing, Debugging, and Deployment medium

    What distinguishes a scratch org from a sandbox?

  42. Testing, Debugging, and Deployment easy

    Which tool provides command-line operations for creating orgs, deploying source, and running tests in a Salesforce DX workflow?

  43. Testing, Debugging, and Deployment easy

    A developer wants to inspect the debug log of an Apex execution directly in the browser, without installing anything. Which tool fits?

  44. Testing, Debugging, and Deployment medium

    Which deployment option moves customisations between related orgs, such as a sandbox and its production org, using point-and-click setup rather than the command line?

  45. Testing, Debugging, and Deployment hard

    A developer must verify that a user with a restricted profile cannot access certain records in Apex logic. How can a test simulate that user's record access?

Practice questions FAQ

Are these real PD1 exam questions?
No. These are original study questions written to test understanding. They are not real exam questions, exam dumps, or copied from any provider.
How should I use these practice questions?
Answer each one, read the explanation (including why the wrong options are wrong), and use the per-domain score below to focus your revision on weak areas. Revisit before exam day.
How many questions should I do before the exam?
Enough to score consistently across every domain, alongside full-length practice from official or reputable providers. Understanding why each answer is right matters more than raw volume.
What score means I am ready?
A good signal is consistently scoring around 80% or higher across all domains on questions you have not seen before, and being able to explain why the wrong options are wrong.
Should I use exam dumps?
No. Dumps (real or leaked questions) breach provider policy, can void your certification, and do not build the understanding the exam actually tests.

Sources