Question 121
A developer has to Identify a method in an 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 DML statement to save the changes to the database. Which two techniques should the developer implement as a best practice to esure transaction control and avoid exceeding governor limits? Choose
2 answers
2 answers
Question 122
The following Apex method is part of the ContactServiceclass that is called from a trigger:

How should the developer modify the code to ensure best practices are met?

How should the developer modify the code to ensure best practices are met?
Question 123
A developer executes the following query in Apex to retrieve a list of contacts for each account:
List<account> accounts = [Select ID, Name, (Select ID, Name from Contacts) from Account] ; Which two exceptions may occur when it executes? (Choose two.)
List<account> accounts = [Select ID, Name, (Select ID, Name from Contacts) from Account] ; Which two exceptions may occur when it executes? (Choose two.)
Question 124
Which two operations can be performed using a formula field? Choose 2 answers
Question 125
Which code block returns the ListView of an Account object usingthe following debug statement?
system.debug(controller.getListViewOptions() );
system.debug(controller.getListViewOptions() );
