ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 331 - Certified Platform Developer II discussion

Report
Export

Universal Containers uses a custom Lightning page to provide a mechanism to perform a step-bystep 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?

A.
Move the SOQL query to within an asyncronous process.
Answers
A.
Move the SOQL query to within an asyncronous process.
B.
Mark the lRP_Number__c field as an external ID.
Answers
B.
Mark the lRP_Number__c field as an external ID.
C.
Perform the SOQL query as part of a for loop.
Answers
C.
Perform the SOQL query as part of a for loop.
D.
Mark the ERP_Number__c field as required.
Answers
D.
Mark the ERP_Number__c field as required.
Suggested answer: B
asked 23/09/2024
saud ahmed
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first