Free Salesforce Platform Developer II Practice Test Questions

161 questions Updated 18-Nov-2026
Question 31 Choose 1
A company has a native iOS order placement app that needs to connect to Salesforce to retrieve consolidated information from many different objects in a JSON format. Which is the optimal method to implement this in Salesforce?
Question 32 Choose 1
A developer needs to implement a system audit feature that allows users, assigned to a custom profile named "Auditors", to perform searches against the historical records in the Account object. The developer must ensure the search is able to return history records that are between 6 and 12 months old.
Given the code below, which select statement should be inserted below as a valid way to retrieve the Account History records ranging from 6 to 12 months old?
Question 33 Choose 1
An org records customer order information in a custom object, ordar__c, that has fields for the shipping address. A developer is tasked with adding code to calculate shipping charges 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?
Question 34 Choose 1
A company uses an external system to manage its custom account territory assignments. Every quarter, millions of Accounts may be updated in Salesforce with new Owners when the territory assignments are completed in the external system. What is the optimal way to update the Accounts from the external system?
Question 35 Choose 2
Consider the queries in the options below and the following Information:

* For these queries, assume that there are more than 200,000 Account records.
* These records Include soft-deleted records; that is, deleted records that are still in the Recycle Bin.
* There are two fields that are marked as External Id on the Account. These fields are customer_Number_c and ERR_Key_ s.

Which two queries are optimized for large data volumes?
(Choose 2 answers)
Question 36 Choose 1
A developer is writing code that requires making callouts to an external web service. Which scenario necessitates that the callout be made in an asynchronous method?
Question 37 Choose 1
A developer created a JavaScript library that simplifies the development of repetitive tasks and features and uploaded the library as a static resource called rsutils in Salesforce. Another developer is coding a new Lightning web component (LWC) and wants to leverage the library, Which statement properly loads the static resource within the LWC?
Question 38 Choose 1
The use of the transient keyword in Visualforce page controllers helps with which common performance issue?
Question 39 Choose 1
A developer creates a Lightning web component to allow a Contact to be quickly entered. However, error messages are not displayed.

Which component should the developer add to the form to display error messages?
Question 40 Choose 2
A developer created 2 class that implements the Queueable Interface, as follows:

Java
public class without sharing OrderQueueableJob implements Queueable {
public void execute(QueueableContext context) {
// implementation logic
System.enqueueJob(new FollowUpJob());
}
}

As part of the deployment process, the developer is asked to create a corresponding test class.
Which two actions should the developer take to successfully execute the test class?
(Choose 2 answers)

That's the last free question

You've seen the free 25% of every topic (40 of 161 questions). Get complete access for every question, explanation and the timed exam simulator.

Unlock all questions

Experience the real exam before you take it

Our timed 2026 Salesforce Platform Developer II practice test mirrors the format, number of questions and time limit of the official exam.

The #1 challenge isn't just knowing the material, it's managing the clock. The simulation builds your speed and stamina, so you walk in knowing exactly what to expect.

Take Salesforce Platform Developer II practice exam
  • Build exam stamina: stay focused and accurate for the entire duration.
  • Master time management: learn to pace yourself so you never have to rush.
  • A new test every time: a randomised set from the Salesforce Platform Developer II (Plat-Dev-301) question pool on every attempt.
  • Unlimited attempts: practice until you're 100% confident, not just once.