CCNA Lan Chapter #5

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Rodney.butler
R
Rodney.butler
Community Contributor
Quizzes Created: 21 | Total Attempts: 28,004
Questions: 20 | Attempts: 2,321

SettingsSettingsSettings
CCNA Lan Chapter #5 - Quiz

Welcome to the fifth chapter of our studies on the Cisco Certified Network Associate’s curriculum on the topic of local area networks, where today we’ll be taking an even further look at these computer networks which are used to connect devices within a relatively short range. What can you tell us?


Questions and Answers
  • 1. 

    Which two statements are true about the default operation of STP in a Layer 2 switched environment that has redundant connections between switches? (Choose two.)

    • A.

      The root switch is the switch with the highest speed ports.

    • B.

      Decisions on which port to block when two ports have equal cost depend on the port priority and identity.

    • C.

      All trunking ports are designated and not blocked.

    • D.

      Root switches have all ports set as root ports.

    • E.

      Non-root switches each have only one root port.

    Correct Answer(s)
    B. Decisions on which port to block when two ports have equal cost depend on the port priority and identity.
    E. Non-root switches each have only one root port.
    Explanation
    In a Layer 2 switched environment with redundant connections between switches, two true statements about the default operation of STP are: decisions on which port to block when two ports have equal cost depend on the port priority and identity, and non-root switches each have only one root port.

    Rate this question:

  • 2. 

    Which two statements describe the BIDs used in a spanning tree topology? (Choose two.)

    • A.

      They are sent out by the root bridge only after the inferior BPDUs are sent.

    • B.

      They consist of a bridge priority and MAC address.

    • C.

      Only the root bridge will send out a BID.

    • D.

      They are used by the switches in a spanning tree topology to elect the root bridge.

    • E.

      The switch with the fastest processor will have the lowest BID.

    Correct Answer(s)
    B. They consist of a bridge priority and MAC address.
    D. They are used by the switches in a spanning tree topology to elect the root bridge.
    Explanation
    The BIDs (Bridge IDs) used in a spanning tree topology consist of a bridge priority and MAC address. They are used by the switches in a spanning tree topology to elect the root bridge. The bridge priority determines which switch becomes the root bridge, with the lowest priority being preferred. The MAC address is used as a tiebreaker if multiple switches have the same priority. Therefore, the BIDs play a crucial role in determining the root bridge and the overall topology of the spanning tree network.

    Rate this question:

  • 3. 

    In which two ways is the information that is contained in BPDUs used by switches? (Choose two.)

    • A.

      To negotiate a trunk between switches

    • B.

      To set the duplex mode of a redundant link

    • C.

      to identify the shortest path to the root bridge

    • D.

      To prevent loops by sharing bridging tables between connected switches

    • E.

      To determine which ports will forward frames as part of the spanning tree

    Correct Answer(s)
    C. to identify the shortest path to the root bridge
    E. To determine which ports will forward frames as part of the spanning tree
    Explanation
    BPDUs (Bridge Protocol Data Units) are used by switches in two ways. First, they are used to identify the shortest path to the root bridge. By exchanging BPDUs, switches can determine the path with the lowest cost to reach the root bridge, which helps in building the spanning tree topology. Second, BPDUs are used to determine which ports will forward frames as part of the spanning tree. By analyzing the BPDUs received from neighboring switches, a switch can determine the designated and non-designated ports, and only forward frames through the designated ports to prevent loops in the network.

    Rate this question:

  • 4. 

    Which two actions does an RSTP edge port take if it receives a BPDU? (Choose two.)

    • A.

      immediately loses its edge status

    • B.

      Inhibits the generation of a TCN

    • C.

      Goes immediately to a learning state

    • D.

      Disables itself

    • E.

      Becomes a normal spanning-tree port

    Correct Answer(s)
    A. immediately loses its edge status
    E. Becomes a normal spanning-tree port
    Explanation
    When an RSTP edge port receives a BPDU, it immediately loses its edge status. This is because edge ports are designed to be connected to end devices that do not participate in spanning tree protocol. Receiving a BPDU indicates the presence of another bridge in the network, so the port can no longer be considered an edge port. Additionally, the edge port becomes a normal spanning-tree port, meaning it will start participating in the spanning tree protocol and forwarding BPDUs to other ports.

    Rate this question:

  • 5. 

    Refer to the exhibit. All switches in the network have empty MAC tables. STP has been disabled on the switches in the network. How will a broadcast frame that is sent by host PC1 be handled on the network?

    • A.

      Switch SW1 will block the broadcast and drop the frame.

    • B.

      Switch SW1 will forward the broadcast out all switch ports, except the originating port. This will generate an endless loop in the network.

    • C.

      Switch SW1 will forward the broadcast out all switch ports, except the originating port. All hosts in the network will replay with a unicast frame sent to host PC1.

    • D.

      Switch SW1 will forward the traffic out all switch ports except the originating port as a unicast frame. All hosts in the network will replay with a unicast frame sent to switch SW1.

    Correct Answer
    B. Switch SW1 will forward the broadcast out all switch ports, except the originating port. This will generate an endless loop in the network.
    Explanation
    If STP (Spanning Tree Protocol) has been disabled on the switches in the network, switch SW1 will forward the broadcast frame out all switch ports, except the originating port. This will create an endless loop in the network because the broadcast frame will keep circulating through all the switches, continuously being forwarded out of all ports except the one it originated from. This can lead to network congestion and performance issues.

    Rate this question:

  • 6. 

    Which two items are true regarding the spanning-tree portfast command? (Choose two.) 

    • A.

      PortFast is Cisco proprietary.

    • B.

      PortFast can negatively effect DHCP services.

    • C.

      PortFast is used to more quickly prevent and eliminate bridging loops.

    • D.

      Enabling PortFast on trunks that connect to other switches improves convergence.

    • E.

      If an access port is configured with PortFast, it immediately transitions from a blocking to a forwarding state.

    Correct Answer(s)
    A. PortFast is Cisco proprietary.
    E. If an access port is configured with PortFast, it immediately transitions from a blocking to a forwarding state.
    Explanation
    PortFast is a Cisco proprietary feature that allows access ports to immediately transition from a blocking to a forwarding state, improving convergence. Enabling PortFast on trunks that connect to other switches does not improve convergence. PortFast can negatively affect DHCP services by allowing a host to bypass the DHCP process and obtain an IP address from a previous lease.

    Rate this question:

  • 7. 

    Refer to the exhibit. Server sends an ARP request for the MAC address of its default gateway. If STP is not enabled, what will be the result of this ARP request? 

    • A.

      Router_1 will drop the broadcast and reply with the MAC address of the next hop router.

    • B.

      Switch_A will reply with the MAC address of the Router_1 E0 interface.

    • C.

      Switch_A and Switch_B will continuously flood the message onto the network.

    • D.

      The message will cycle around the network until its TTL is exceeded.

    Correct Answer
    C. Switch_A and Switch_B will continuously flood the message onto the network.
    Explanation
    If STP (Spanning Tree Protocol) is not enabled, the result of the ARP request will be that Switch_A and Switch_B will continuously flood the message onto the network. This means that the ARP request will be broadcasted to all devices on the network, causing unnecessary traffic and potentially impacting network performance. Without STP to prevent loops in the network, the message will continue to circulate indefinitely until its time-to-live (TTL) value is exceeded.

    Rate this question:

  • 8. 

    What is the first step in the process of convergence in a spanning tree topology? 

    • A.

      Election of the root bridge

    • B.

      Blocking of the non-designated ports

    • C.

      Selection of the designated trunk port

    • D.

      Determination of the designated port for each segment

    Correct Answer
    A. Election of the root bridge
    Explanation
    The first step in the process of convergence in a spanning tree topology is the election of the root bridge. The root bridge is the most important bridge in the network and serves as the reference point for all other bridges. It is elected based on a predetermined criteria such as the bridge with the lowest bridge ID. Once the root bridge is elected, the other bridges in the network will determine their roles and port states based on their distance to the root bridge. This process ensures that the network has a loop-free topology and allows for efficient forwarding of traffic.

    Rate this question:

  • 9. 

    How can a network administrator influence which STP switch becomes the root bridge?

    • A.

      Configure all the interfaces on the switch as the static root ports.

    • B.

      Change the BPDU to a lower value than that of the other switches in the network.

    • C.

      Assign a lower IP address to the switch than that of the other switches in the network.

    • D.

      Set the switch priority to a smaller value than that of the other switches in the network.

    Correct Answer
    D. Set the switch priority to a smaller value than that of the other switches in the network.
    Explanation
    To influence which STP switch becomes the root bridge, the network administrator can set the switch priority to a smaller value than that of the other switches in the network. The switch with the lowest priority value will become the root bridge. By assigning a lower priority to a specific switch, the administrator can ensure that it becomes the root bridge and takes control of the STP topology. This allows for better control and management of the network.

    Rate this question:

  • 10. 

    Refer to the exhibit. The spanning-tree port priority of each interface is at the default setting. The network administrator enters the spanning-tree vlan 1 root primary command on S4. What is the effect of the command?

    • A.

      Spanning tree blocks Gi 0/1 on S3.

    • B.

      Gi 0/2 on S3 transitions to a root port.

    • C.

      Port priority makes Gi 0/2 on S1 a root port.

    • D.

      S4 is already the root bridge, so there are no port changes.

    Correct Answer
    B. Gi 0/2 on S3 transitions to a root port.
    Explanation
    The command "spanning-tree vlan 1 root primary" on S4 will cause Gi 0/2 on S3 to transition to a root port. This command is used to configure a switch as the root bridge for a specific VLAN. By setting S4 as the root bridge for VLAN 1, it will have the lowest bridge ID and therefore all other switches in the network will adjust their port roles accordingly. In this case, S3's Gi 0/2 will become the root port, as it is the port that offers the lowest cost path to the root bridge (S4).

    Rate this question:

  • 11. 

    What two features of the Spanning-Tree Protocol contribute to the time it takes for a switched network to converge after a topology change occurs? (Choose two.) 

    • A.

      The max-age timer

    • B.

      The spanning-tree hold down timer

    • C.

      The forward delay

    • D.

      the spanning-tree path cost

    • E.

      The blocking delay

    Correct Answer(s)
    A. The max-age timer
    C. The forward delay
    Explanation
    The max-age timer and the forward delay are two features of the Spanning-Tree Protocol that contribute to the time it takes for a switched network to converge after a topology change occurs. The max-age timer is the maximum time a switch will wait to receive a hello message from its root bridge before considering the root bridge unavailable. This timer affects the convergence time as it determines how long a switch will wait before recalculating the spanning-tree topology. The forward delay is the time a switch waits before transitioning a port from the blocking state to the forwarding state. This delay allows for stability in the network by ensuring that all switches have updated their forwarding tables before allowing traffic to flow through the newly designated forwarding ports.

    Rate this question:

  • 12. 

    In which STP state does a port record MAC addresses but not forward user data?

    • A.

      Blocking

    • B.

      Learning

    • C.

      Disabling

    • D.

      Listening

    • E.

      Forwarding

    Correct Answer
    B. Learning
    Explanation
    In the learning state of STP (Spanning Tree Protocol), a port records MAC addresses but does not forward user data. This state allows the switch to learn the MAC addresses of devices connected to the port by receiving and processing incoming frames. However, it does not yet participate in forwarding user data until it transitions to the forwarding state.

    Rate this question:

  • 13. 

    Which three statements are accurate regarding RSTP and STP? (Choose three.)

    • A.

      RSTP uses a faster algorithm to determine root ports.

    • B.

      Both RSTP and STP use the portfast command to allow ports to immediately transition to forwarding state.

    • C.

      Like STP PortFast, an RSTP edge port that receives a BPDU loses its edge port status immediately and becomes a normal spanning-tree port.

    • D.

      Configuration commands to establish primary and secondary root bridges are identical for STP and RSTP.

    • E.

      Because of the format of the BPDU packet, RSTP is backward compatible with STP.

    Correct Answer(s)
    B. Both RSTP and STP use the portfast command to allow ports to immediately transition to forwarding state.
    D. Configuration commands to establish primary and secondary root bridges are identical for STP and RSTP.
    E. Because of the format of the BPDU packet, RSTP is backward compatible with STP.
    Explanation
    RSTP and STP both use the portfast command to allow ports to immediately transition to the forwarding state. This means that when a port is enabled with portfast, it will skip the listening and learning states and go directly to forwarding, reducing the convergence time. The configuration commands to establish primary and secondary root bridges are also the same for both STP and RSTP. This allows for a seamless transition between the two protocols. Additionally, RSTP is backward compatible with STP due to the format of the BPDU packet, meaning that RSTP can coexist with STP in the same network without causing any compatibility issues.

    Rate this question:

  • 14. 

    What two elements will exist in a converged network with one spanning tree? (Choose two.) 

    • A.

      One root bridge per network

    • B.

      All non-designated ports forwarding

    • C.

      One root port per non-root bridge

    • D.

      Multiple designated ports per segment

    • E.

      One designated port per network

    Correct Answer(s)
    A. One root bridge per network
    C. One root port per non-root bridge
    Explanation
    In a converged network with one spanning tree, there will be one root bridge per network. The root bridge is the central bridge that is responsible for making forwarding decisions in the network. Additionally, there will be one root port per non-root bridge. The root port is the port on a non-root bridge that has the best path to the root bridge. This port is responsible for forwarding traffic towards the root bridge.

    Rate this question:

  • 15. 

    Which statement or set of paired statements correctly compares STP with RSTP?

    • A.

      STP and RSTP use the same BPDU format.

    • B.

      STP specifies backup ports. RSTP has only root ports, alternate ports, and designated ports.

    • C.

      STP port states are independent of port roles. RSTP ties together the port state and port role.

    • D.

      STP waits for the network to converge before placing ports into forwarding state. RSTP places alternate ports into forwarding state immediately.

    Correct Answer
    D. STP waits for the network to converge before placing ports into forwarding state. RSTP places alternate ports into forwarding state immediately.
    Explanation
    STP and RSTP are both spanning tree protocols used to prevent loops in network topologies. The correct answer explains that one key difference between the two is their behavior when it comes to placing ports into forwarding state. STP waits for the network to converge before allowing ports to forward traffic, while RSTP immediately places alternate ports into forwarding state. This means that RSTP can provide faster convergence and reduce network downtime compared to STP.

    Rate this question:

  • 16. 

    Refer to the exhibit. What can be determined from the output shown? 

    • A.

      Two hosts communicating between ports Fa 0/2 and Fa 0/4 have a cost of 38.

    • B.

      The priority was statically configured to identify the root.

    • C.

      STP is disabled on this switch.

    • D.

      The timers have been altered to reduce convergence time.

    Correct Answer
    B. The priority was statically configured to identify the root.
    Explanation
    The output shown indicates that the priority was statically configured to identify the root. This means that the switch has been manually configured to have a higher priority value, making it more likely to become the root switch in the spanning tree. This can be determined because the output does not mention any other factors that could affect the root selection process, such as STP being disabled or timers being altered.

    Rate this question:

  • 17. 

    Which two criteria does a switch use to select the root bridge? (Choose two.) 

    • A.

      Bridge priority

    • B.

      Switching speed

    • C.

      number of ports

    • D.

      Base MAC address

    • E.

      Memory size

    Correct Answer(s)
    A. Bridge priority
    D. Base MAC address
    Explanation
    A switch uses two criteria to select the root bridge: bridge priority and base MAC address. The bridge priority is a numerical value that determines the likelihood of a switch becoming the root bridge. The switch with the lowest bridge priority will become the root bridge. The base MAC address is used as a tiebreaker if multiple switches have the same bridge priority. The switch with the lowest base MAC address will become the root bridge.

    Rate this question:

  • 18. 

    What three link types have been defined for Rapid Spanning-Tree Protocol? (Choose three.) 

    • A.

      Shared

    • B.

      End-to-end

    • C.

      Edge-type

    • D.

      Boundary-type

    • E.

      Point-to-point

    Correct Answer(s)
    A. Shared
    C. Edge-type
    E. Point-to-point
    Explanation
    The three link types that have been defined for Rapid Spanning-Tree Protocol are shared, edge-type, and point-to-point. The shared link type refers to a link that is shared among multiple devices. The edge-type link refers to a link that is connected to an end device. The point-to-point link refers to a link that is directly connected between two devices.

    Rate this question:

  • 19. 

    What Rapid Spanning Tree Protocol (RSTP) role is assigned to the forwarding port elected for every switched Ethernet LAN segment?

    • A.

      Alternate

    • B.

      Backup

    • C.

      Designated

    • D.

      Root

    Correct Answer
    C. Designated
    Explanation
    The Designated role is assigned to the forwarding port elected for every switched Ethernet LAN segment in Rapid Spanning Tree Protocol (RSTP). The Designated port is responsible for forwarding data on its respective LAN segment and is selected based on the lowest path cost to the root bridge. It is the port that provides the best path to reach the root bridge and ensures efficient and reliable communication within the LAN.

    Rate this question:

  • 20. 

    When PVST+ was developed, the Bridge ID was modified to include which information?

    • A.

      Bridge priority

    • B.

      MAC address

    • C.

      Protocol

    • D.

      VLAN ID

    Correct Answer
    D. VLAN ID
    Explanation
    When PVST+ was developed, the Bridge ID was modified to include the VLAN ID information. The Bridge ID is a unique identifier used in Spanning Tree Protocol (STP) to determine the root bridge and the path cost to reach it. By including the VLAN ID in the Bridge ID, PVST+ allows for separate spanning trees to be maintained for each VLAN in a network. This ensures that each VLAN has its own root bridge and path cost calculation, improving network efficiency and reducing the risk of loops.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Feb 02, 2010
    Quiz Created by
    Rodney.butler
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.