Free Salesforce Platform User Experience Designer Practice Test Questions
Topic: Salesforce Lightning Design System (SLDS)
219 questionsUpdated 23-Nov-20266 topics
TopicSalesforce Lightning Design System (SLDS)
Question 1Choose 1
Cloud Kicks has a content-rich set of record pages and wants its UX Design team to organize and consolidate them.
Which Salesforce Lightning Design System (SLDS) component should be used to organize and consolidate content?
Correct answer:
C. Q Tabs
Explanation:
🟢 Correct Option: C
The Tabs component is specifically designed to organize and consolidate large amounts of content onto a single page, reducing clutter. Users can navigate between related but distinct content groups (e.g., Details, Related, Activity) without scrolling excessively or leaving the page, which is ideal for content-rich record pages.
🔴 Incorrect Option: A
Data Tables are used for displaying rows and columns of structured data, like a list of related records. They are for presenting a specific dataset, not for organizing and consolidating the various types of content and components that make up an entire record page.
🔴 Incorrect Option: B
Modals are temporary, focused dialogs that appear over the page to prompt for user input or display important information. They interrupt the user flow and are not used for the persistent organization and consolidation of primary page content.
Summary:
The goal is to organize and consolidate a "content-rich set of record pages." Tabs are a fundamental navigational UI pattern that allows designers to segment content into logical categories within a single page, preventing information overload and improving findability.
Question 2Choose 1
Cloud Kicks' development team is working on the build of a new custom component using VS Code. They often have new CSS classes and properties conflicting with the Salesforce Lightning Design System (SLDS),
What should simplify working with SLDS in Lightning Components?
Correct answer:
B. Install SLDS Validator extension for VS Code
Explanation
Salesforce provides tools that help developers follow SLDS standards directly inside their development environment. When working in VS Code, extensions can detect design conflicts early, reducing rework and improving consistency with Lightning guidelines. The goal is to simplify styling by validating CSS usage against SLDS rules rather than designing or installing unrelated third-party tools.
Correct Option: ✔ B. Install SLDS Validator extension for VS Code
The SLDS Validator extension for VS Code automatically checks CSS classes and styling rules against Salesforce Lightning Design System standards. It highlights conflicts, deprecated classes, and incorrect usage while coding. This real-time feedback simplifies development, helps maintain SLDS compliance, and reduces styling issues in Lightning Web Components and Aura components.
Incorrect Option: ❌ A. Install SLDS creator from AppExchange
AppExchange does not offer an official “SLDS creator” tool for resolving CSS conflicts in development environments. AppExchange solutions are mainly business apps or productivity tools, not developer-focused validators. This option does not integrate with VS Code or provide real-time feedback on SLDS class conflicts during component development.
Incorrect Option: ❌ C. Install Lightning Design System Plugin for Sketch
The SLDS Sketch plugin is intended for designers, not developers. It helps create UI mockups that follow SLDS guidelines but does not validate or resolve CSS conflicts in Lightning components. Since Cloud Kicks’ team is coding in VS Code, this tool would not simplify development or styling issues.
Summary
Using the right development tool is critical when working with SLDS.
The SLDS Validator extension ensures styling consistency directly in VS Code.
Design tools like Sketch plugins or AppExchange apps do not address coding conflicts.
Real-time validation helps teams build compliant Lightning components faster.
Reference
Salesforce Trailhead – Lightning Design System Tools and VS Code Extensions
Salesforce Help & Training – SLDS Validator Overview
Question 3Choose 1
A UX Design team is doing a review of a new Lightning Web Component (IWC). They are following the Salesforce Lightning Design System (SLDS) block, element, modifier (BEM) naming conventions.
Which class does NOT follow this convention?
Correct answer:
C. .slds--size-l-of-2
Explanation
Correct Option
🟢 C. .slds--size-l-of-2
This class does not follow SLDS BEM conventions because the modifier syntax is used incorrectly. In SLDS, modifiers must be clearly associated with a valid block or element. The double hyphen appears without a proper block or element reference, breaking the expected naming structure and reducing consistency, readability, and maintainability in SLDS-based components.
Incorrect Options
🔴 A. .slds-avatar_circle
This class follows SLDS naming conventions correctly. The slds-avatar portion represents the block, while _circle acts as a modifier describing a visual variation. This format aligns with SLDS BEM-style patterns used to define component appearance without violating structural rules.
🔴 B. .slds-box
The .slds-box class is a valid SLDS block class. BEM conventions allow blocks to exist without elements or modifiers. This class represents a standalone container component and fully complies with SLDS CSS architecture and naming standards.
Summary:
SLDS BEM naming requires clear block and modifier relationships. Options A and B follow these rules correctly. Option C breaks the convention by misusing modifier syntax, making it the only class that does not comply with SLDS standards.
References:
SLDS Utility Class Naming
That's the last free question in Salesforce Lightning Design System (SLDS)
You've seen the free 25% of this topic (3 of 15 questions). Get complete access for every question, explanation and the timed exam simulator.
Our timed 2026 Salesforce Platform User Experience Designer practice test mirrors the format, number of questions and time limit of the official exam.
The #1 challenge isn't just knowing the material, it's managing the clock. The simulation builds your speed and stamina, so you walk in knowing exactly what to expect.