ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 97 - Certified Data Architect discussion

Report
Export

Universal Containers has a custom object with millions of rows of data.

When executing SOQL queries, which three options prevent a query from being selective? (Choose three.)

A.
Using leading % wildcards.
Answers
A.
Using leading % wildcards.
B.
Using trailing % wildcards.
Answers
B.
Using trailing % wildcards.
C.
Performing large loads and deletions.
Answers
C.
Performing large loads and deletions.
D.
Using NOT and != operators.
Answers
D.
Using NOT and != operators.
E.
Using a custom index on a deterministic formula field.
Answers
E.
Using a custom index on a deterministic formula field.
Suggested answer: A, C, D

Explanation:

Using leading % wildcards, performing large loads and deletions, and using NOT and != operators are three options that prevent a query from being selective.These options can cause the query to scan a large number of records or indexes, which can negatively impact the performance and scalability of the query5.Using a custom index on a deterministic formula field, on the other hand, can improve the query selectivity by allowing the query to use the index instead of scanning all the records6.

asked 23/09/2024
Vigen Pillay
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first