nerdexam
Salesforce

PDII · Question #263

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

The correct answer is A. Use (Cacheable=true) whenever possible. B. Use the Lightning Data Service. E. Use getRecordUi to obtain metadata. See the full explanation below for the reasoning.

Question

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

Options

  • AUse (Cacheable=true) whenever possible.
  • BUse the Lightning Data Service.
  • CUse layoutTypes: ['Full'] to display a set of fields.
  • DUse lazy load for occasionally accessed data.
  • EUse getRecordUi to obtain metadata.

How the community answered

(37 responses)
  • A
    84% (31)
  • C
    5% (2)
  • D
    11% (4)

Community Discussion

No community discussion yet for this question.

Full PDII Practice