Salesforce PDI Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: PDI
  • Exam Name/Title: Platform Developer I (PDI)
  • Certification Provider: Salesforce
  • Corresponding Certification: Salesforce PDI
  • Exam Questions: 187
  • Updated On: Nov 25, 2026
If Apex code executes inside the execute() method of an Apex class when implementing the Batchable interface, which two statements are true regarding governor limits?
Correct Answer: C,D Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Universal Containers wants to automatically assign new cases to the appropriate support representative based on the case origin. They have created a custom field on the Case object to store the support representative name.
What is the best solution to assign the case to the appropriate support representative?
Correct Answer: B Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
The following code snippet is executed by a Lightning web component in an environment with more than 2,000 lead records:
@AuraEnabled
public static void updateLeads() {
for(lead thisLead : [SELECT Origin_c FROM Lead]) {
thisLead.leadSource = thisLead.Origin_c;
update thisLead;
}
}
Which governor limit will likely be exceeded within the Apex transaction?
Correct Answer: B Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Which three Salesforce resources can be accessed from a Lightning web component?
Correct Answer: A,C,D Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A developer wants to get access to the standard price book in the org while writing a test class that covers an OpportunityLineItem trigger.
Which method allows access to the price book?
Correct Answer: D Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A developer created a custom order management app that uses an Apex class. The order is represented by an Order object and an OrderItem object that has master-detail relationship to Order. During order processing, an order may be split into multiple orders.
What should a developer do to allow their code to move some existing OrderItem records to a new Order record?
Correct Answer: B Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A custom object Trainer_c has a lookup field to another custom object Gym_c. Which SOQL query will get the record for the Viridian City Gym and all its trainers?
Correct Answer: A Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple sObjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL.
Which three statements are useful inside the unit test to effectively test the custom controller?
Correct Answer: C,D,E Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Which two Agentforce limitations should a developer consider when building an agent?
Correct Answer: B,D Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
Where are two locations a developer can look to find information about the status of batch or future methods?
Correct Answer: A,B Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A company has a custom object, Sales_Help_Request__c, that has a Lookup relationship to Opportunity. The Sales_Help_Request__c has a number field, Number_of_Hours__c, that represents the amount of time spent on Sales_Help_Request__c. A developer is tasked with creating a field, Total_Hours__c, on Opportunity that should be the sum of all of the Number_of_Hours__c values for the Sales_Help_Request__c records related to that Opportunity. What should the developer use to implement this?
Correct Answer: B Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A developer deployed a trigger to update the status_c of Assets related to an Account when the Account ' s status changes and a nightly integration that updates Accounts in bulk has started to fail with limit failures.
[Code snippet in document]
What should the developer change about the code to address the failure while still having the code update all of the Assets correctly?
Correct Answer: B Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
0
0
0
10