SF-PD2 • Practice Test 3 — 30 Questions
Free SF-PD2 practice test 3 — 30 questions with explanations. No signup required.
A developer is building an Apex batch class that processes 2 million Account records. The start method uses the following SOQL query: [SELECT Id, Name FROM Account WHERE BillingCountry = 'US']. The query is selective because BillingCountry is indexed. However, during testing, the batch job fails with a 'First error: Apex CPU time limit exceeded' error. The developer suspects that the issue is related to the query performance. Which of the following is the most likely cause of the CPU timeout?
Choose an answer to begin — your selection is scored in the full session.
30 questions · instant feedback and full explanations after every question.