Online Access Free PDI Practice Test
| Exam Code: | PDI |
| Exam Name: | Platform Developer I (PDI) |
| Certification Provider: | Salesforce |
| Free Question Number: | 187 |
| Posted: | Aug 30, 2026 |
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?
A developer is tasked to perform a security review of the ContactSearch Apex class that exists in the system. Within the class, the developer identifies the following method as a security threat:
List < Contact > performSearch(String lastName){
return Database.query( ' SELECT Id, FirstName, LastName FROM Contact WHERE LastName Like ' % ' +lastName+ ' % ' ' );
}
What are two ways the developer can update the method to prevent a SOQL injection attack?
Universal Containers (UC) uses out-of-the-box order management, that has a Master- Detail relationship between Order and Order Line Item.
Which method should be used to calculate the estimated ship date for an Order?
How can a developer check the test coverage of autolaunched Flows before deploying them in a change set?
A developer is asked to prevent anyone other than a user with Sales Manager profile from changing the Opportunity Status to Closed Lost if the lost reason is blank.
Which automation allows the developer to satisfy this requirement in the most efficient manner?
Recent Comments (The most recent comments are at the top.)
I want to download the pd1 dumps, please share them with me.