
SalesforceCertified Platform Developer II
Domain 4Objective 4
Describe the Messaging Techniques and Best Practices When Displaying Errors in User Interfaces. PLATFORM-DEVELOPER-II Practice Questions (Page 1)
Part of the USER INTERFACE domain, which accounts for 20% of the PLATFORM-DEVELOPER-II exam.
20questions here
4free pages
3concepts
20%of the exam
Questions 1–5
- 1
A developer is building a custom Lightning component that allows users to import leads from a CSV file. The import process can take up to 30 seconds. When the user clicks the 'Import' button, the component should provide immediate feedback that the import has started, and then show the final result. Which combination of messaging techniques should the developer use?
Select an answer first - 2
A developer is building a custom Lightning component that allows users to upload a file. The file must be a PDF and less than 5 MB. When the user uploads an invalid file, what is the best error message?
Select an answer first - 3
A developer is creating a custom Lightning component that calls an Apex method to save a record. The Apex method uses `addError()` on a field to indicate a validation failure. How should the developer retrieve and display this field-level error in the component?
Select an answer first - 4
When should an error message be displayed to the user?
Select an answer first - 5
A developer is building a custom Lightning component that allows users to submit a support case. The submission process involves multiple steps, and the developer wants to show a success message after the case is created. Which messaging technique is best for the success message?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Salesforce. “PLATFORM-DEVELOPER-II” is a trademark of its owner, used for identification only.