Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 7 Question 5 Discussion

A Developer wishes to improve runtime performance of Apex calls by caching results on the client. What is the best way to implement this?
D) Call the setStorable() method on the action in the JavaScript client-side code.
A) Decorate the server-side method with @AuraEnabled(cacheable=true).
B) Set a cookie in the browser for use upon return to the page.
C) Decorate the server-side method with @AuraEnabled(storable=true).

Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 7 Question 5 Discussion

Actual exam question for Salesforce's Salesforce Certified Platform Developer II (Plat-Dev-301) exam
Question #: 5
Topic #: 7
[All Salesforce Certified Platform Developer II (Plat-Dev-301) Questions]

A Developer wishes to improve runtime performance of Apex calls by caching results on the client. What is the best way to implement this?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

0/2000 characters
Donette
7 months ago
D sounds interesting, but I'm not sure if it's the best choice.
upvoted 0 times
...
Yolande
7 months ago
I agree, A is the best option here!
upvoted 0 times
...
Nichelle
7 months ago
Wait, @AuraEnabled(storable=true)? Is that even a thing?
upvoted 0 times
...
Willodean
8 months ago
I think B could work too, but not as efficient.
upvoted 0 times
...
Altha
8 months ago
A is definitely the way to go!
upvoted 0 times
...
Josephine
8 months ago
I remember discussing setStorable() in class, but I can't recall if it's the right choice here. Is that option D?
upvoted 0 times
...
Kirby
8 months ago
I vaguely recall that cookies aren't the best way to cache data for Apex calls, so I might skip option B.
upvoted 0 times
...
Joana
8 months ago
I'm not entirely sure, but I feel like storable methods were mentioned in a practice question. Is that option C?
upvoted 0 times
...
Rolland
8 months ago
I think option A sounds familiar, I remember something about using @AuraEnabled with cacheable to improve performance.
upvoted 0 times
...
Lajuana
8 months ago
Okay, I've got a strategy for this. I'll focus on understanding the relationships between antenna gain, directivity, and radiation patterns. That should help me identify the correct answers.
upvoted 0 times
...
Stephen
8 months ago
This question seems to be testing our knowledge of the technologies enabled by a wireless Industry 4.0 network. I'll need to think carefully about the key capabilities of such a network.
upvoted 0 times
...

Save Cancel