Salesforce PD1 - Platform Developer I - Apex SOQL LWC Triggers Testing Deployment
By Jamie Foster · Updated May 25, 2026
Question catalog for this preview
Catalog listing of the 5 preview questions for this quiz.
Question 1
A developer is deploying Apex classes and triggers from a Developer Sandbox to Production. What is required by Salesforce for the deployment to succeed?
Question 2
A developer deploys code using the Salesforce CLI (sf deploy metadata). The deployment includes an Apex Trigger with an associated test class. Which command validates the deployment in a Sandbox WITHOUT actually deploying?
Question 3
A developer needs to make a callout to an external REST API from an Apex trigger. The API call is synchronous and may take up to 3 seconds. What is the correct Apex architecture for this callout?
Question 4
A developer needs to write an Apex class that sends different email templates based on whether a Case is "Technical" or "Billing" type. The email recipient is the Case Contact. Which Apex email approach is MOST flexible for selecting templates dynamically?
Question 5
A developer is writing code that needs to determine if the current code execution is running in a test context (inside a @isTest method). Which Apex method detects this?