ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 281 - Certified Platform Developer II discussion

Report
Export

A developer migrated functionality from JavaScript demoting to a Lightning web component and wants to use the existing getOpportunities() method to provide data.

Which modification to the method is necessary?

A.
A The method must be decorated with ©AuraEnabled.
Answers
A.
A The method must be decorated with ©AuraEnabled.
B.
The method must return a JSON Object.
Answers
B.
The method must return a JSON Object.
C.
The method must be decorated with (cacheable=true).
Answers
C.
The method must be decorated with (cacheable=true).
D.
The method must return a String of a serialized JSON Array.
Answers
D.
The method must return a String of a serialized JSON Array.
Suggested answer: A
asked 23/09/2024
Danilo Nogueira
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first