Lightning Components Flashcards
7 cards from real CSA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 Lightning Components flashcards as text
Which Lightning component attribute type would you use to pass a collection of records from a parent component to a child component?
Answer: List
The List type is used to pass collections of records or values between Lightning components.
In Lightning App Builder, which property controls whether a component appears on desktop but not mobile?
Answer: Form Factor
Form Factor in Lightning App Builder determines whether a component displays on desktop, phone, or both.
What happens when a user navigates away from a Lightning component that uses the lightning:navigation mixin?
Answer: The component is destroyed and recreated on return
When navigating away, Lightning components are destroyed; state is not automatically preserved unless explicitly managed.
Which base Lightning component would you use to display a modal dialog in a Lightning Web Component?
Answer: lightning-modal
lightning-modal is the base component used to display modal dialogs in Lightning Web Components.
What is the purpose of the 'targets' property in a Lightning Web Component's metadata file?
Answer: Defines where the component can be used in Salesforce
The 'targets' property in the .js-meta.xml file specifies which Salesforce contexts (App Builder, Flow, etc.) can use the component.
Which utility bar feature can be configured using a Lightning component in App Builder?
Answer: Persistent panels at the bottom of the app
The utility bar hosts Lightning components as persistent panels at the bottom of a Lightning app, accessible to users at all times.
When configuring a Lightning component for the App Builder, which file must be present to make the component available?
Answer: .js-meta.xml metadata file
The .js-meta.xml metadata file must be present and properly configured to expose a Lightning Web Component in App Builder.
How this page was made: written with AI tools. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- help.salesforce.com — Exam information · verified Oct 2026
- help.salesforce.com — Test delivery, eligibility, fees · verified Oct 2026