The data architect for Universal Containers has written a SOQL query that will return all records from the Task object that do not have a value in the whatID field: SELECT ID, Description, subject FROM Task WHERE WhatID != NULL When the data architect uses the query to select values for a process, a time-out error occurs. What does the data architect need to change to make this query more…

QuestionsCategory: Certified Data ArchitectThe data architect for Universal Containers has written a SOQL query that will return all records from the Task object that do not have a value in the whatID field: SELECT ID, Description, subject FROM Task WHERE WhatID != NULL When the data architect uses the query to select values for a process, a time-out error occurs. What does the data architect need to change to make this query more…
Admin Staff asked 4 months ago
The data architect for Universal Containers has written a SOQL query that will return all records from the Task object that do not have a value in the whatID field:
SELECT ID, Description, subject FROM Task WHERE WhatID != NULL
When the data architect uses the query to select values for a process, a time-out error occurs.
What does the data architect need to change to make this query more performant?

A. Change the WHERE clause to filter by a deterministic defined value.

B. Change query to SOSL.

C. Remove description from the requested field set.

D. Add LIMIT 100 to the query.








 

Suggested Answer: C

Community Answer: A



This question is in Certified Data Architect Exam
For getting Salesforce Certified Data Architect


















Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Salesforce. 
Trademarks, certification & product names are used for reference only and belong to Salesforce.
The website does not contain actual questions and answers from Salesforce's Certification Exams.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.