Salesforce
PDI · Question #220
Which annotation should a developer use on an Apex method to make it available to be wired to a property in a Lightning web component?
Sign in or unlock PDI to reveal the answer and full explanation for question #220. The question stem and answer options stay visible for context.
Submitted by minji_kr· Apr 18, 2026User Interface
Question
Which annotation should a developer use on an Apex method to make it available to be wired to a property in a Lightning web component?
Options
- A@RemoteAction
- B@AureEnabled
- C@AureEnabled (cacheable=true)
- D@RemoteAction(|cacheable=true)
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#Apex Annotations#@wire service#AuraEnabled