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 tool would an administrator use to troubleshoot a Lightning component that is not rendering correctly on a page?
Answer: Lightning Component Debug Mode in Setup
Lightning Component Debug Mode, enabled in Setup, disables minification of JavaScript so errors are easier to read in the browser console.
What is the primary difference between an Aura component and a Lightning Web Component (LWC)?
Answer: LWC is based on modern web standards; Aura uses a proprietary framework
LWC is built on modern web standards (HTML, JavaScript, CSS) while Aura uses Salesforce's proprietary component model.
When assigning a Lightning Record Page to a specific record type, which step is required after saving the page in App Builder?
Answer: Activate the page and assign it to the record type and profiles
After saving, you must activate the Lightning Record Page and configure its assignment by record type and/or profile for it to take effect.
Which approach allows a Lightning component to refresh its data after a related record is updated elsewhere on the page?
Answer: Using the refreshApex function or wire adapter refresh
refreshApex is the recommended approach to re-invoke a wired Apex method and update component data when underlying records change.
What is the function of the 'lightning__RecordAction' target in an LWC metadata file?
Answer: Makes the component available as a custom quick action on record pages
The lightning__RecordAction target makes an LWC available as a custom action that can be added to record page action bars or quick action menus.
An administrator notices a Lightning component works in a sandbox but shows an error in production. What is the most likely cause?
Answer: The component was not deployed using a Change Set or other deployment tool
Lightning components must be explicitly deployed to production via Change Sets, Salesforce DX, or another deployment method — they do not automatically sync.
Which Lightning App Builder layout option best supports a component that needs to span the full width of a record page?
Answer: Full-width region or one-column layout
A full-width region or one-column layout in the Lightning App Builder provides the maximum horizontal space for a single component.
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