PDI Exam Question 36

A developer has to identify a method in en Apex class that performs resource intensive actions in memory by iterating over the result set of a SOQL statement on the account. The method also performs a SOQL statement to save the changes to the database.
Which two techniques should the developer implement as a best practice to ensure transaction control and avoid exceeding governor limits?
Choose 2 answers
  • PDI Exam Question 37

    Which scenario is valid for execution by unit tests?
  • PDI Exam Question 38

    What is considered the primary purpose for creating Apex tests?
  • PDI Exam Question 39

    What should a developer use to implement an automate approval process submission for case?
  • PDI Exam Question 40

    Which governor limit applies to all the code in an apex transaction?