nerdexam
SalesforceSalesforce

PDI · Question #184

PDI Question #184: Real Exam Question with Answer & Explanation

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

Submitted by kwame.gh· Apr 18, 2026User Interface

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

  • ACreate a flow to execjte the query and invoke from the Lightning component
  • BWrite the query in a custom Lightning web component wrapper ana invoke from the Lightning
  • CInvoke an Apex class with the method annotated as &AuraEnabled to perform the query.
  • DUse the Salesforce Streaming API to perform the SOQL query.

Unlock PDI to see the answer

You've previewed enough free PDI questions. Unlock PDI 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.

Topics

#Lightning Web Components#SOQL#Apex Integration#Data Retrieval
Full PDI PracticeBrowse All PDI Questions