Salesforce
PDII · Question #325
PDII Question #325: Real Exam Question with Answer & Explanation
Sign in or unlock PDII to reveal the answer and full explanation for question #325. The question stem and answer options stay visible for context.
Question
A developer created a Lightning web component that allows users to input a text value that is used to search for Accounts by calling an Apex method. The Apex method returns a list of AccountWrappers and is called imperatively from a JavaScript event handler. Which two changes should the developer make so the Apex method functions correctly? (Choose two.)
Exhibit
Options
- AAdd @AuraEnabled to line 09.
- BAdd @AuraEnabled to line 03.
- CAdd @AuraEnabled to lines 11 and 12.
- DAdd @AuraEnabled to line 01.
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.
