Salesforce
CRT-450 · Question #8
CRT-450 Question #8: Real Exam Question with Answer & Explanation
Sign in or unlock CRT-450 to reveal the answer and full explanation for question #8. The question stem and answer options stay visible for context.
Question
A developer migrated functionality from JavaScript Remoting to a Lightning web component and wants to use the existing getOpportunities() method to provide data. What to do now?
Options
- AThe method must be decorated with (cacheable=true).
- BThe method must be decorated with @AuraEnabled.
- CThe method must return a JSON Object.
- DThe method must return a String of a serialized JSON Array.
Unlock CRT-450 to see the answer
You've previewed enough free CRT-450 questions. Unlock CRT-450 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.