VLANs and Spanning Tree Protocol Fundamentals Quiz Quiz

Explore foundational switching concepts with this quiz on VLANs and Spanning Tree Protocol, designed to reinforce understanding of network segmentation, loop prevention, and key related terminology in easy-to-digest questions.

  1. Purpose of VLANs

    What is the primary purpose of creating VLANs on a network switch?

    1. To prevent the use of dynamic IP addresses
    2. To create physical isolation between devices
    3. To segment a network into separate broadcast domains
    4. To increase the internet speed for users

    Explanation: VLANs are mainly used to separate a single physical network into multiple logical broadcast domains, improving performance and security. Increasing internet speed is not their main function. VLANs do not prevent dynamic IP address usage, nor do they require devices to be physically isolated, as segmentation is logical rather than physical.

  2. Default VLAN

    By default, which VLAN are all ports assigned to on most switches before any configuration changes?

    1. VLAN 100
    2. VLAN 0
    3. VLAN 1
    4. VLAN 10

    Explanation: On many switches, all ports belong to VLAN 1 by default, which is known as the default VLAN. VLAN 10, VLAN 0, and VLAN 100 are not typically default VLAN assignments; they require explicit configuration.

  3. STP Function

    Which problem does Spanning Tree Protocol (STP) specifically solve in a switched network?

    1. DNS misconfiguration
    2. IP address conflicts
    3. Network loops
    4. Bandwidth limitation

    Explanation: STP is designed to detect and prevent network loops in switched topologies, which can cause broadcast storms and data loss. IP address conflicts and DNS misconfigurations are not addressed by STP. Bandwidth limitation is unrelated to what STP resolves.

  4. VLAN Membership

    What must a device be connected to in order to communicate with other devices in the same VLAN?

    1. A different physical switch
    2. A port assigned to that VLAN
    3. A trunk port only
    4. The network's default gateway

    Explanation: Devices must be connected to ports that are members of the same VLAN to communicate as part of that VLAN. The default gateway is needed for routing between VLANs, not within one. It is not necessary to be on a different switch or only via a trunk port for same-VLAN communication.

  5. STP Root Bridge

    What is the term for the central switch selected by STP to serve as a reference point for path calculations?

    1. Root Bridge
    2. Root Path
    3. Master Port
    4. Primary Switch

    Explanation: The Root Bridge is the main reference device STP chooses, and all path calculations are based on its location. 'Root Path' refers to a cost, not a switch. 'Primary Switch' and 'Master Port' are not official terms in STP.

  6. VLAN Tagging

    Which protocol is commonly used to carry multiple VLANs over a single network link?

    1. 802.3u
    2. 802.5
    3. 802.11n
    4. 802.1Q

    Explanation: 802.1Q is the standard protocol for VLAN tagging, allowing multiple VLANs to share a trunk link. 802.11n relates to wireless networks, 802.3u is fast Ethernet, and 802.5 is used for token ring networks, none of which handle VLAN tagging.

  7. Broadcast Domains with VLANs

    If two users are connected to ports in different VLANs, what is true about their broadcast domain?

    1. They are in separate broadcast domains
    2. They are always in multiple broadcast domains
    3. They will never be able to communicate
    4. They are in the same broadcast domain

    Explanation: Different VLANs create separate broadcast domains, so users in different VLANs do not share broadcasts. They are not in the same domain, but they may communicate through a router. The option 'always in multiple broadcast domains' is not accurate.

  8. STP Port States

    What is the final operating state of a port that is forwarding data in STP?

    1. Listening
    2. Forwarding
    3. Blocking
    4. Learning

    Explanation: The 'Forwarding' state is where a port actively sends and receives traffic. 'Listening' and 'Learning' are intermediate states during topology changes. 'Blocking' means no user data is forwarded through that port.

  9. Switch Communication Between VLANs

    What is required to allow communication between devices in different VLANs?

    1. A layer 3 device for inter-VLAN routing
    2. Enabling STP on each port
    3. A crossover cable
    4. Assigning the same VLAN IDs

    Explanation: Inter-VLAN routing, handled by a Layer 3 device, is necessary for communication between different VLANs. Simply using a crossover cable or enabling STP does not enable such communication. Assigning the same VLAN ID would put both devices in the same VLAN, which isn't inter-VLAN routing.

  10. STP Convergence

    What does STP convergence refer to in network switching?

    1. The process of achieving a loop-free network topology
    2. The synchronization of clock settings
    3. The merging of multiple VLANs
    4. The increase in broadcast traffic

    Explanation: STP convergence is when the network stabilizes into a loop-free topology after changes. It does not mean increased broadcast traffic or merging VLANs. Clock synchronization is unrelated to STP.