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 282 discussion

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

Which three approaches should a developer implement to obtain the best performance for data retrieval when building a Lightning web component? (Choose three.)

  • A. Use (Cacheable=true) whenever possible.
  • B. Use the Lightning Data Service.
  • C. Use layoutTypes: [‘Full’] to display a set of fields.
  • D. Use lazy load for occasionally accessed data.
  • E. Use getRecordUi to obtain metadata.
Show Suggested Answer Hide Answer
Suggested Answer: ABE 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Sapphire808
1 year, 1 month ago
AB....E.....D According to Salesforce documentation, the getRecordUi is deprecated. Perhaps this may have been the choice before as it gets page layouts, metadata, and data with ease, and lazy loading was set to be used on occasion, which would lead to E having more value. But since it is deprecated, I would now go with ABD. https://developer.salesforce.com/docs/platform/lwc/guide/reference-wire-adapters-record-ui.html
upvoted 1 times
...
shoeb2sidiqui
1 year, 3 months ago
AB and D
upvoted 1 times
...
AppleDash
1 year, 8 months ago
Should be A, B, D. Lazy load is necessary when loading large data sets.
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 ...