About the Exam

Read on for details about the Salesforce Platform Developer II Exam.

  • Content: 60 multiple-choice/multiple-select questions and up to five non-scored questions
  • Time allotted to complete the exam: 120 minutes
  • Passing score: 70%
  • Registration fee: US$200, plus applicable taxes as required per local law
  • Retake fee: $100, plus applicable taxes as required per local law
  • Delivery options: Proctored exam delivered onsite at a testing center or in an online proctored environment; click here for information on scheduling an exam.
  • References: No hard-copy or online materials may be referenced during the exam.
  • Prerequisite: Salesforce Certified Platform Developer I Credential

Course Curriculum

    1. Part I: Advanced Developer Fundamentals - 15%

    2. Part II: Process Automation, Logic, and Integration (1) - 27%

    3. Part II: Process Automation, Logic, and Integration (2) - 27%

    4. Part III: User Interface (1) - 20%

    5. Part III: User Interface (2) - 20%

    6. Part IV: Testing, Debugging, and Deployment - 20%

    7. Part V: Performance - 18%

About This Course

  • $39.99
  • 7 lessons

Student Reviews

5 star rating

THANK YOU!

Aurora Taylor

2025-01-02 I have failed twice till I found these practice tests!! Thank you!!

2025-01-02 I have failed twice till I found these practice tests!! Thank you!!

Read Less
5 star rating

Great Practice Tests

Eve Chalim

2024-07-07 I appreciate all the questions and all the help from Priscilla to guide me pass this exam. Thank you so much for everything!

2024-07-07 I appreciate all the questions and all the help from Priscilla to guide me pass this exam. Thank you so much for everything!

Read Less

Example Questions

Question 1:

UC has enabled the translation workbench and has translated picklist values. UC has a custom multi-select picklist field, Products__c. on the Account object that allows sales reps to specify which of UC's products an Account already has. A developer is tasked with writing an Apex method that retrieves Account records, including the Products__c field.

What should the developer do to ensure the value of Products__c is in the current user's language?

A.    Set the locale on each record in the SOQL result list.

B.    Use the locale clause in the SOQL query.

C.    Use toLabel(Products__c) in the fields list of the SOQL query.

D.    Call the translate() method on each record in the SOQL result list.

Answer: C

Question 2:

An org records customer order information in a custom object, Order__c, that has fields for the shipping address. A developer is tasked with adding code to calculate shipping changes on an order, based on a flat percentage rate associated with the region of the shipping address.

What should the developer use to store the rates by region, so that when the changes are deployed to production no additional steps are needed for the calculation to work?

A.    Custom object

B.    Custom metadata type

C.    Custom list setting

D.    Custom hierarchy setting

Answer: B

Question 3:

A software company uses a custom object, Defect__c, to track defects in their software. Defect__c has organization-wide defaults set to private. Each Defect__c has a related list of Reviewer__c records, each with a lookup field to User that is used to indicate that the User will review the Defect__c.

What should be used to give the User on the Reviewer__c record read-only access to the Defect__c record on the Reviewer__c record?

A.    Apex managed sharing

B.    View All on Defect__c

C.    Criteria-based sharing

D.    Lightning web component

Answer: A

Question 4:

A developer is asked to develop a new AppExchange application. A feature of the program creates Survey records when a Case reaches a certain stage and is of a certain Record Type. This feature needs to be configurable, as different Salesforce instances require Surveys at different times. Additionally, the out-of-the-box AppExchange app needs to come with a set of best practice settings that apply to most customers.

What should the developer use to store and package the custom configuration settings for the app?

A.    Custom metadata

B.    Custom settings

C.    Custom objects

D.    Custom labels

Answer: A

Question 5:

A developer used custom settings to store some configuration data that changes occasionally. However, tests are now failing in some of the sandboxes that were recently refreshed.

What should be done to eliminate this issue going forward?

A.    Set the setting type on the custom setting to Hierarchy.

B.    Set the setting type on the custom setting to List.

C.    Replace custom settings with static resources.

D.    Replace custom settings with custom metadata.

Answer: D

Question 6:

A developer needs to store variables to control the style and behavior of a Lightning Web Component.

Which feature should be used to ensure that the variables are testable in both Production and all Sandboxes?

A.    Custom variable

B.    Custom object

C.    Custom metadata

D.    Custom setting

Answer: C

Question 7:

Which method should be used to convert a Date to a String in the current user's locale?

A.    Date.parse

B.    Date.format

C.    String.format

D.    String.valueOf

Answer: B

Explanation: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_date.htm#apex_System_Date_format

Question 8:

A developer is creating a Lightning web component to display a calendar. The component will be used in multiple countries. In some locales, the first day of the week is a Monday, or a Saturday, or a Sunday.

What should the developer do to ensure the calendar displays accurately for users in every locale?

A.    Use a custom metadata type to store key/value pairs.

B.    Query the FirstDayofweek field from the Locale for the current user.

C.    Use UerInfo.getLocale() in the component.

D.    Import the firstDayofweek property in the component.

Answer: C

Question 9:

Universal Containers decided to use Salesforce to manage a new hire interview process. A custom object called Candidate was created with organization-wide defaults set to Private A lookup on the Candidate object sets an employee as an Interviewer.

What should be used to automatically give Read access to the record when the lookup field is set to the Interviewer user?

A.    The record can be shared using a sharing rule.

B.    The record can be shared using a permission set.

C.    The record cannot be shared with the current setup.

D.    The record can be shared using an Apex class.

Answer: D

Question 10:

A developer is asked to find a way to store secret data with the ability to specify which profiles and users can access which secrets.

What should be used to store this data?

A.    Static resources

B.    Custom settings

C.    Custom metadata

D.    System.Cookie class

Answer: B


Discover your potential, starting today