nerdexam
Salesforce

PDII · Question #287

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

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

Question

Refer to the code below: A developer is building this Aura component to display information about top Opportunities in the org. Which three code changes must be made for the component to work? (Choose three.)

Exhibit

PDII question #287 exhibit

Options

  • AAdd the static keyword to the Apex method.
  • BAdd the RemoteAction annotation to the Apex method.
  • CSet the controller in the component markup.
  • DGet the controller action with cmp.get("OppController.getTopOpps").
  • EAdd the AuraEnabled annotation to the Apex method.

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