ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 294 - Certified Platform Developer II discussion

Report
Export

Refer to the code snippet below:

When a Lightning web component is rendered, a list of opportunity that match certain criteria should be retrieved from the database and displayed to the end-user.

Which three considerations must the developer implement to make the fetchOpps method available within the Lightning web component?

A.
The fetchOpps method must be annotated with the @InvocableMethod annotation.
Answers
A.
The fetchOpps method must be annotated with the @InvocableMethod annotation.
B.
The fetchOpps method must specify the (continustion-true) attribute
Answers
B.
The fetchOpps method must specify the (continustion-true) attribute
C.
The fetchOpps method cannot mutate the result set retrieved from the database.
Answers
C.
The fetchOpps method cannot mutate the result set retrieved from the database.
D.
The fetchOpps method must specify the (cacheable =true) attribute
Answers
D.
The fetchOpps method must specify the (cacheable =true) attribute
E.
The fecthOpps method must be annotated with the @ AuraEnabled annotation.
Answers
E.
The fecthOpps method must be annotated with the @ AuraEnabled annotation.
Suggested answer: C, D, E
asked 23/09/2024
Sharhonda Herman
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first