nerdexam
Salesforce

PDII · Question #217

PDII Question #217: Real Exam Question with Answer & Explanation

Sign in or unlock PDII to reveal the answer and full explanation for question #217. The question stem and answer options stay visible for context.

Question

A developer must perform a complex SOQL query that joins two objects in a Lightning component. How can the Lightning component execute the query?

Options

  • AInvoke an Apex class with the method annotated as @AuraEnabled to perform the query
  • BUse the Salesforce Streaming API to perform the SOQL query
  • CCreate a Process Builder to execute the query and invoke from the Lightning component
  • DWrite the query in a custom Lightning web component wrapper and invoke from the Lightning

Unlock PDII to see the answer

You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full PDII Practice