Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce DEX-450 Exam - Topic 4 Question 47 Discussion

Which statement generates a list of Leads and Contacts that have a field with the phrase 'ACME'?
B) List<List <sObject>> searchList = (FIND '*ACME*' IN ALL FIELDS RETURNING Contact, Lead);
A) List <sObject> searchList = (FIND '*ACME*' IN ALL FIELDS RETURNING Contact, Lead);
C) Map <sObject> searchList = (FIND '*ACME*' IN ALL FIELDS RETURNING Contact, Lead);
D) List<List < sObject>> searchList = (SELECT Name, ID FROM Contact, Lead WHERE Name like '%ACME%');

Salesforce DEX-450 Exam - Topic 4 Question 47 Discussion

Actual exam question for Salesforce's DEX-450 exam
Question #: 47
Topic #: 4
[All DEX-450 Questions]

Which statement generates a list of Leads and Contacts that have a field with the phrase 'ACME'?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Lashon
7 months ago
Wait, can you really use FIND like that? Sounds off.
upvoted 0 times
...
Ilona
7 months ago
No way, C doesn't even match the expected return type!
upvoted 0 times
...
Cherry
7 months ago
D looks like a valid SOQL query, but it's not using FIND.
upvoted 0 times
...
Mica
8 months ago
I think B is more accurate, but I'm not sure.
upvoted 0 times
...
Galen
8 months ago
A is the correct syntax for finding records.
upvoted 0 times
...
Jimmie
8 months ago
I’m confused about the syntax in B; it looks like it’s trying to create a list of lists, which doesn’t seem right for this question.
upvoted 0 times
...
France
8 months ago
I’m leaning towards D because it uses a SOQL query, which seems more straightforward for getting specific fields.
upvoted 0 times
...
Johnna
8 months ago
I remember practicing a similar question, and I feel like it was about using a List for the results, so maybe A or B?
upvoted 0 times
...
Jackie
8 months ago
I think option A looks familiar, but I'm not entirely sure if it returns both Leads and Contacts correctly.
upvoted 0 times
...
Carissa
8 months ago
This seems like a straightforward question on contract law. I'll focus on identifying the key facts and then applying the legal principles to determine the most likely type of pre-contractual assurance.
upvoted 0 times
...
Lorriane
8 months ago
The key is looking for the format that displays the month as 3 letters. I'm pretty sure the answer is A.
upvoted 0 times
...

Save Cancel