ExamDumpster

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 multinational financial services firm uses a custom object `Transaction__c` to log highly sensitive financial data. Due to regulatory requirements, visibility to these records must be strictly controlled. The sharing model is set to Private. A requirement exists where a `Transaction__c` record must be shared with a specific auditor user defined in a lookup field `Auditor__c` on the record itself, but only when the `Status__c` is 'Under Review'. The auditor should have Read-Only access. The sharing logic must be automated and robust against ownership changes. Which approach is the most appropriate implementation?

Question 2Choose 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 3Choose 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 4Choose 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 5Choose 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 6Choose 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?

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