Salesforce
PDI · Question #236
PDI Question #236: Real Exam Question with Answer & Explanation
The correct answer is B. Lightning Web Components. Lightning Web Components are the best technology for creating a custom, modern, and performant user interface component in Salesforce with robust client-side input validation capabilities.
Submitted by wei.xz· Apr 18, 2026User Interface
Question
Universal Containers needs to create a custom user interface component that allows users to enter information about their accounts. The component should be able to validate the user input before saving the information to the database. What is the best technology to create this component?
Options
- AFlow
- BLightning Web Components
- CVisualforce
- DVUE JavaScript framework
Explanation
Lightning Web Components are the best technology for creating a custom, modern, and performant user interface component in Salesforce with robust client-side input validation capabilities.
Common mistakes.
- A. Flow is a declarative automation tool primarily for guided processes and simple screens, not for building highly custom, code-driven UI components.
- C. Visualforce is an older, server-side rendering UI framework that has largely been superseded by Lightning Web Components for modern Salesforce development.
- D. Vue.js is a general-purpose JavaScript framework and not a native Salesforce technology for building components that integrate directly into the Salesforce platform like LWC.
Concept tested. Choosing appropriate Salesforce UI development technology
Reference. https://developer.salesforce.com/docs/component-library/overview/lightning-web-components-overview
Topics
#Lightning Web Components (LWC)#Custom UI Components#Input Validation#Salesforce Platform Development
Community Discussion
No community discussion yet for this question.