PDI practice question 9 of 30

As part of new feature development, a developer is asked to build a responsive application capable of responding to touch events, that will be executed on stateful clients. Which two technologies are built on a framework that fully supports the business requirement? Choose 2 answers

Full set: 201 questions
Answer options
A: Lightning Web Components Correct answer
B: Visualforce Components
C: Visualforce Pages
D: Aura Components Correct answer
Correct Answer:
A. Lightning Web Components; D. Aura Components
Explanation

The requirements describe a modern, single-page application. Lightning Web Components (LWC) and Aura Components are the two UI frameworks on the Salesforce Platform designed for this purpose. Both frameworks facilitate the creation of responsive applications that execute on the client-side. They manage their own state within the browser, making them "stateful clients." Their event-driven architecture is built to handle user interactions, including touch events, efficiently. In contrast, Visualforce is a server-side framework where state is primarily managed on the server, which does not meet the "stateful client" requirement.

Why Incorrect

B. Visualforce Components: A server-side technology. State is managed on the server via view state, not on the client, making it unsuitable for a stateful client model.
C. Visualforce Pages: A server-side, page-centric framework. It is not inherently responsive or designed for a stateful client architecture as required by the scenario.

References

1. Lightning Aura Components Developer Guide, "Introduction to Aura Components", Section: "What is the Aura Components Programming Model?". The guide states, "Aura Components is a UI framework for developing single-page applications... It’s a modern framework for building apps on stateful clients."

2. Lightning Web Components Developer Guide, "Get to Know the Lightning Web Components Programming Model". This guide explains that LWC uses core Web Components standards, which are client-side technologies designed for building responsive and interactive user interfaces.

3. Visualforce Developer Guide, "Introduction to Visualforce", Section: "What is Visualforce?". The documentation specifies, "In Visualforce, this server-side controller can be a standard controller... or a custom controller you write in Apex." This highlights its server-centric architecture, contrasting with the client-stateful model required.

Scroll to Top