nerdexam
Salesforce

PDII · Question #285

PDII Question #285: Real Exam Question with Answer & Explanation

Sign in or unlock PDII to reveal the answer and full explanation for question #285. The question stem and answer options stay visible for context.

Question

Universal Containers uses a custom Lightning page to provide a mechanism to perform a step- by-step wizard search for Accounts. One of the steps in the wizard is to allow the user to input text into a text field, ERP_Number_c, that is then used in a query to find matching Accounts. A developer receives the exception 'SOQL query not selective enough'. Which step should be taken to resolve the issue?

Options

  • AMark the ERP_Number_c field as an external ID.
  • BPerform the SOQL query as part of a for loop.
  • CMove the SOQL query to within an asynchronous process.
  • DMark the ERP_Number_c field as required.

Unlock PDII to see the answer

You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full PDII Practice