nerdexam
Salesforce

PDI · Question #236

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…

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

How the community answered

(42 responses)
  • A
    7% (3)
  • B
    88% (37)
  • C
    2% (1)
  • D
    2% (1)

Why each option

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.

AFlow

Flow is a declarative automation tool primarily for guided processes and simple screens, not for building highly custom, code-driven UI components.

BLightning Web ComponentsCorrect

Lightning Web Components (LWC) is Salesforce's modern framework for building highly performant, reusable UI components that integrate natively with the Lightning Experience, offering advanced capabilities for client-side input validation and dynamic user interaction.

CVisualforce

Visualforce is an older, server-side rendering UI framework that has largely been superseded by Lightning Web Components for modern Salesforce development.

DVUE JavaScript framework

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

Source: 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.

Full PDI Practice