C (Correct):This is the correctSOSL (Salesforce Object Search Language)syntax. It performs a full-text search across multiple objects and fields.
The format FIND '*ACME*' IN ALL FIELDS RETURNING Contact, Lead is thestandard and correctapproach for cross-object keyword searches.
Incorrect options:
A:Incorrect syntax; needs ALL FIELDS or NAME FIELDS, and proper result typing.
B:SOQL does not support searching across multiple objects in a single query.
D:Incorrect casing and structure; missing proper list handling.
[Reference:Apex Developer Guide – SOSL Syntax, This relates toDeveloper Fundamentals (23%), specificallySOSL vs. SOQL use cases and syntax., , , ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit