nerdexam
Salesforce

PDII · Question #269

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

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

Question

Refer to the code snippet below: When a Lightning web component is rendered, a list of opportunities that match certain criteria should be retrieved from the database and displayed to the end-user. Which three considerations must the developer implement to make the fetchOpportunities method available within the Lightning web component? (Choose three.)

Exhibit

PDII question #269 exhibit

Options

  • AThe method must specify the (cacheable=true) attribute.
  • BThe method must specify the (continuation=true) attribute.
  • CThe method must be annotated with the @AuraEnabled annotation.
  • DThe method must be annotated with the @InvocableMethod annotation.
  • EThe method cannot mutate the result set retrieved from the database.

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