Which two best practices should the developer Implement to optimize this code?
Which two best practices should the developer Implement to optimize this code?
Choose 2 answers
A . Use a collection for the DML statement.
B. Query the Pricing_structure__c records outside of the loop.
C. Change the trigger context to after update, after insert.
D. Remove the DML statement.
Answer: B,D
Latest PDII Practice Questions with 280 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments