Salesforce Platform Developer I (legacy) Free Practice Exam Questions

259 real Salesforce Platform Developer I (legacy) exam questions with answers and AI explanations. Salesforce certification prep — page 3 of 26.

  1. Question 24: Given: Map<ID, Account> accountMap = new Map>ID, Account> ([SELECT Id, Name FROM Account]); What are three valid Apex loop structures for iterating through ite…
  2. Question 25: Which type of code represents the Model in the MVC architecture when using Apex and Visualforce pages?
  3. Question 27: A developer writes a single trigger on the Account object on the after insert and after update events. A workflow rule modifies a field every time an Account i…
  4. Question 28: A developer needs to provide a way to mass edit, update, and delete records from a list view. In which two ways can this be accomplished? (Choose two.)
  5. Question 30: The Job_Application__c custom object has a field that is a Master-Detail relationship to the Contact object, where the Contact object is the Master. As part of…
  6. Question 32: Which three statements are true regarding custom exceptions in Apex? (Choose three.)
  7. Question 33: Which three web technologies can be integrated into a Visualforce page? (Choose three.)
  8. Question 34: A developer wants multiple test classes to use the same set of test data. How should the developer create the test data?
  9. Question 35: A developer wants to display all of the picklist entries for the Opportunity StageName field and all of the available record types for the Opportunity object o…
  10. Question 36: Which feature allows a developer to create test records for use in test classes?