Free Plat-Dev-301 sample questions

Real questions from the Salesforce Certified Platform Developer II practice bank, with the correct answer and an explanation for each one. No junk, no filler.

Try them in the simulator Same questions, with study, timed and flashcard modes.

Showing 6 of 12 free sample questions.

Question 1Choose one

A developer is building a global application that uses Advanced Currency Management (ACM). The application includes a custom Apex calculation service that aggregates `Opportunity` amounts across different regions. The developer attempts to query `Opportunity` records and aggregate the `Amount` field using `GROUP BY Calendar_Year(CloseDate)`. However, the query fails or returns incorrect currency conversions in the aggregation. What is the technical reason for this behavior?

Question 2Choose one

A logistics company uses a custom object `Shipment__c` with a `Geolocation` compound field named `Delivery_Location__c`. A developer needs to write an Apex trigger to identify shipments within a 10-mile radius of a warehouse. Which consideration is critical when working with this compound field in Apex?

Question 3Choose one

A developer is architecting a solution that requires storing application configuration mappings that map external system codes to internal Salesforce record types. These mappings will be read frequently by Apex triggers but updated rarely. The mappings must be deployable via Metadata API and accessible in test classes without `SeeAllData=true`. Which solution is optimal?

Question 4Choose one

A retail organization uses an external ERP system that pushes inventory updates to Salesforce nightly. The integration uses the `Upsert` operation on the `Product2` object. The ERP uses a composite key (Manufacturer Code + SKU) to identify products. Salesforce has a custom field `ERP_Key__c` marked as an External ID. The integration team reports that some upserts are failing with duplicate value errors on `ERP_Key__c` even though the logic seems correct. What is the most likely cause?

Question 5Choose one

A developer needs to localize error messages generated in Apex for a custom component. The org supports English, French, and Spanish. The error messages must be managed by the admin team without code deployments. Which approach follows best practices?

Question 6Choose one

### CASE STUDY: Order of Execution Challenge A large enterprise has a complex automation setup on the `Case` object. The following automations are active: 1. **Before Insert Trigger**: Validates the `Origin` field and sets a default `Priority`. 2. **After Insert Trigger**: Creates a related `Task` for the case owner. 3. **Workflow Rule**: Updates the `Status` field to 'New' if it is null. This field update creates a re-entrant scenario (it re-evaluates triggers). 4. **Process Builder**: Posts to Chatter when a Case is created. A developer observes that when a Case is inserted via the API, the **Before Insert Trigger** is executing TWICE. Based on the Salesforce Order of Execution, what is the specific cause of this double execution?

6 more free samples are waiting

Create a free account to unlock the whole Plat-Dev-301 sample bank, or get full access to all 129 practice questions in the simulator.

Create account