Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 288 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 288
Topic #: 1
[All Certified Platform Developer II Questions]

Refer to the code snippet below:



When a Lightning web component is rendered, a list of opportunities 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 fetchOpportunities method available within the Lightning web component? (Choose three.)

  • A. The method must specify the (cacheable=true) attribute.
  • B. The method must specify the (continuation=true) attribute.
  • C. The method must be annotated with the @AuraEnabled annotation.
  • D. The method must be annotated with the @InvocableMethod annotation.
  • E. The method cannot mutate the result set retrieved from the database.
Show Suggested Answer Hide Answer
Suggested Answer: ABC 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Ullr
Highly Voted 1 year, 8 months ago
ACE continuation is not the must
upvoted 10 times
...
FriedConsole2000
Most Recent 8 months, 4 weeks ago
Selected Answer: ACE
ACE is the answer
upvoted 1 times
...
Sapphire808
1 year, 1 month ago
ACE Continuation is used in the case of external communication with other servers (API calls). This question makes no mention of outside communication. However, data retrieved from Salesforce cannot be directly manipulated. It must first be saved in a variable that will hold it's value as it goes through changes and then it can be sent back to update.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...