Salesforce
PDII · Question #390
PDII Question #390: Real Exam Question with Answer & Explanation
Sign in or unlock PDII to reveal the answer and full explanation for question #390. The question stem and answer options stay visible for context.
Question
As part of a custom interface, a developer team creates various new Lightning web components. Each of the components handles errors using toast messages. When the development is complete, all the components are added to the same Lightning page. During acceptance testing, users complain about the long chain of toast messages that display when errors occur loading the components. Which two techniques should the developer implement to improve the user experience? (Choose two.)
Options
- AUse a [template] tag to display in-place error messages
- BUse public properties on each component to display the error messages
- CUse the window.alert() method to display the error messages.
- DUse a Lightning web component to aggregate and display all errors.
Unlock PDII to see the answer
You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.