nerdexam
Salesforce

CRT-450 · 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?

The correct answer is C. @AureEnabled (cacheable=true). See the full explanation below for the reasoning.

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)

How the community answered

(26 responses)
  • A
    15% (4)
  • B
    4% (1)
  • C
    69% (18)
  • D
    12% (3)

Community Discussion

No community discussion yet for this question.

Full CRT-450 Practice