Exam Plat-Dev-301 Topic 1 Question 186 Discussion
Actual exam question for Salesforce's Plat-Dev-301 exam
Question #: 186
Topic #: 1
Question #: 186
Topic #: 1
Refer to the following code snippets:
A developer is experiencing issues with a Lightning web component. The component must surface information about Opportunities owned by the currently logged-in user.

When the component is rendered, the following message is displayed: "Error retrieving data". Which modification should be implemented to the Apex class to overcome the issue?
A developer is experiencing issues with a Lightning web component. The component must surface information about Opportunities owned by the currently logged-in user.

When the component is rendered, the following message is displayed: "Error retrieving data". Which modification should be implemented to the Apex class to overcome the issue?
Suggested Answer: A Vote an answer
The @AuraEnabled(cacheable=true) attribute allows caching of method results on the client side, reducing server trips for already fetched data, which is useful for read-only data.
by Randolph at Jun 30, 2026, 01:52 AM
Contact Us
If you have any question please leave me your email address, we will reply and send email to you in 12 hours.
Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday
Support: Contact now
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).