Free sample · Plat-Dev-301

Platform Developer II practice exam: 10 free questions with answers

10 questions from the Platform Developer II Practice Exams package, all from the Advanced Developer Fundamentals domain. Choose an answer and check it: you'll see whether you were right and why, and your score as you go. The real Plat-Dev-301 exam has 60 questions in 120 minutes.

Reviewed by Nick Gorgotsias, Founder of ForceDigestEvery question is written by ForceDigest from the published exam outline. Nothing is copied from the real exam.

  1. Question 1

    A multi-currency org shows opportunities in a Lightning web component. The Apex controller must return each opportunity's amount converted into the running user's personal currency. Which query meets the requirement?

    Options for question 1
  2. Question 2

    What does s contain after this code runs? Datetime dt = Datetime.newInstanceGmt(2026, 7, 15, 14, 30, 0); String s = dt.format('yyyy-MM-dd HH:mm', 'America/New_York');

    Options for question 2
  3. Question 3

    Which line of this code breaks the rules for compound fields? Account acc = [SELECT Id, BillingAddress FROM Account WHERE Id = :accId WITH USER_MODE]; Address addr = acc.BillingAddress; String city = acc.BillingAddress.City; acc.BillingCity = 'Leeds'; update as user acc;

    Options for question 3
  4. Question 4

    A scheduled Apex job writes a file for a finance system that needs every timestamp as Berlin local time in the form 2026-03-31 17:05, whichever user schedules the job. Which expression produces it reliably?

    Options for question 4
  5. Question 5

    What happens when this code runs for a Job__c record whose object has a Private org-wide default? Job__Share s = new Job__Share(); s.ParentId = job.Id; s.UserOrGroupId = recruiterId; s.AccessLevel = 'All'; s.RowCause = Schema.Job__Share.RowCause.Recruiter__c; insert as system s;

    Options for question 5
  6. Question 6

    In a class declared without sharing and saved at API version 68.0, a method runs [SELECT Id, Name FROM Job__c WITH USER_MODE]. Which records can it return?

    Options for question 6
  7. Question 7

    A developer wants a unit test that proves users in a public group gain access to cases through a criteria-based sharing rule. What should the developer know?

    Options for question 7
  8. Question 8

    During nightly data loads, a trigger must do nothing when the integration user saves records but run normally for everyone else. An administrator must be able to change this without a deployment. Which design is best?

    Options for question 8
  9. Question 9

    A developer stores email templates in a Long Text Area field of a custom metadata type and reads them with Template__mdt.getInstance('Welcome'). Long templates come back cut short. What explains this, and what is the fix?

    Options for question 9
  10. Question 10

    An ISV ships a custom metadata type whose records are protected, in a managed package. Which two statements are true in a subscriber org? Choose 2.

    Select 2 answers.

    Options for question 10

Choose an answer, then check it. Your score shows here.

Want the rest?

The full package has 318 questions across every exam domain, timed exams at the real length, a study guide, flashcards and a readiness check. The Advanced Developer Fundamentals chapter and the readiness check are free to try.

Or Lifetime Access: $79 once for every certification on ForceDigest.

Searching for Plat-Dev-301 dumps? They are copies of real exam questions, which breaks Salesforce's exam rules and can cost you the certification. Why practice questions are the safer way, and the Plat-Dev-301 exam guide for its sections and weights.

Preparing for another exam? Free practice questions for every certification.