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.)
- CPU limit exception due to the complexity of the query.
- SOQL query row limit exception due to the number of contacts.
- SOQL query limit exception due to the number of contacts.
- SOQL query row limit exception due to the number of accounts.
Reveal Solution Next Question