Which two exceptions may occur when it executes?

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.)
A . CPU limit exception due to the complexity of the query.
B . SOQL query row limit exception due to the number of contacts.
C . SOQL query limit exception due to the number of contacts.
D . SOQL query row limit exception due to the number of accounts.

Answer: C,D

Latest CRT-450 Practice Questions with 372 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments