nerdexam
Salesforce

PDII · Question #203

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

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

Question

Lightning Aura Component Lightning Aura Controller Apex Controller Given the code above, which two changes need to be made in the Apex Controller for the code to work? (Choose two.)

Options

  • ARemove line 06 from the Apex Controller and use firstName in the return
  • BChange the method signature to be global static, not public static
  • CChange the argument from JSONObject to String
  • DAnnotate the entire class as @AuraEnabled instead of just the single 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