
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 3)
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 11–15
- 11
A developer is building a custom Lightning component that uses `lightning:recordEditForm` to edit an account. The developer wants to display a custom error message when the account name is blank. How should the developer implement this?
Select an answer first - 12
A developer needs to display a transient confirmation message that appears briefly and does not require user action. Which error messaging technique is most appropriate?
Select an answer first - 13
A developer is building a custom Lightning component that lets users submit an expense report. The component calls an Apex method that returns a list of field-level validation errors. The user should see each error next to the corresponding input field and be able to correct them without losing the data they already entered. Which messaging technique should the developer use?
Select an answer first - 14
A developer is building a custom Lightning component that allows users to create a new contact. The component has a 'Save' button. When the user clicks 'Save', the component should validate the form and show errors. Which technique is best for displaying the validation errors?
Select an answer first - 15
A developer is building a custom Lightning component that allows users to configure a report. The configuration has multiple tabs. When the user clicks 'Run Report' on the last tab, the component should validate all tabs. If there are errors, what is the best way to display them?
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.