Timedora
Free Practice Quiz Question List

4 Spanning Tree Protocol Online Quiz Questions

Use this free practice quiz with 20 questions to review 4 Spanning Tree Protocol, test your knowledge, and prepare for your next test or exam.

20 questions
01
Choose one
1 point

What does STP do in a network with redundant Layer 2 links?

  1. A

    It removes all redundant Layer 2 links from the network.

  2. B

    It keeps a loop-free path active while placing redundant paths in standby.

  3. C

    It adds a Layer 2 hop limit to Ethernet frames.

  4. D

    It prevents switches from learning MAC addresses.

02
True or false
1 point

True or false: Because Ethernet frames have no Layer 2 hop limit, a forwarding loop can cause broadcast storms, duplicate frames, and MAC-address table instability.

  1. A

    True

  2. B

    False

03
Choose one
1 point

Two switches are being considered for root bridge election, and their bridge priorities differ. Which rule determines which one wins?

  1. A

    The switch with the lower priority wins; if priorities tie, the switch with the lower MAC address wins.

  2. B

    The switch with the higher priority wins; if priorities tie, the switch with the higher MAC address wins.

  3. C

    The switch with the lower MAC address always wins, regardless of priority.

  4. D

    The switch with the most root ports wins.

04
Choose one
1 point

On a non-root switch, what role is assigned to the port that provides the switch's best path toward the root bridge?

  1. A

    Root port

  2. B

    Designated port

  3. C

    Alternate port

  4. D

    Backup port

05
Choose all
1 point

Select all statements that correctly describe RSTP port roles.

  1. A

    A root port on a non-root switch provides its best path toward the root.

  2. B

    A designated port is selected for a LAN segment and advertises the best path from that segment toward the root.

  3. C

    An alternate port provides a standby path toward the root and normally discards data frames.

  4. D

    A backup port provides a redundant connection to the same shared segment as a designated port.

  5. E

    The root bridge has a root port because every switch must have one.

06
Fill in the blank
1 point

STP switches exchange to compare paths and determine the active topology.

07
True or false
1 point

True or false: In common Cisco PVST+ and Rapid PVST+ deployments, a trunk has one STP state shared by every VLAN it carries.

  1. A

    True

  2. B

    False

08
Choose one
1 point

On a Cisco IOS-style switch, which command displays STP details for VLAN 10, including interface roles and path costs?

  1. A

    show spanning-tree vlan 10

  2. B

    show spanning-tree summary

  3. C

    spanning-tree vlan 10 root primary

  4. D

    spanning-tree vlan 10 cost 10

09
Choose all
1 point

Select all statements that correctly describe PortFast and BPDU Guard.

  1. A

    PortFast is intended for ports connected to end devices.

  2. B

    PortFast is a replacement for STP on switch-to-switch links.

  3. C

    BPDU Guard disables a protected port if it receives a BPDU.

  4. D

    BPDU Guard keeps a port forwarding when it receives a BPDU from an unexpected bridge.

10
Choose one
1 point

Two paths toward the root have equal cost. How does STP resolve the tie?

  1. A

    It always selects the physically shortest-looking path.

  2. B

    It uses additional bridge and port identifiers to break the tie.

  3. C

    It selects the path with the higher cost.

  4. D

    It blocks both paths until an administrator chooses one.

11
Choose one
1 point

Where should Root Guard be applied when a neighboring switch must not become the root, and what happens if a superior BPDU arrives?

  1. A

    Apply it to every port; it makes each protected port the root port.

  2. B

    Apply it to a designated port where a superior BPDU must not be allowed to make the neighbor the root; if one arrives, the port enters a root-inconsistent state and stops forwarding until the condition clears.

  3. C

    Apply it to end-device ports to make them enter forwarding quickly.

  4. D

    Apply it to a root port to increase its path cost.

12
Fill in the blank
1 point

A port's describes what it is doing, while its role describes its function in the topology.

13
Open ended
1 point

In a redundant topology, STP blocks a link you would prefer to use for a VLAN. Describe how you would investigate the selection and, if needed, steer that VLAN toward the preferred link. Include what you would verify afterward.

14
True or false
1 point

True or false: Because Ethernet frames have no Layer 2 hop limit, loops caused by multiple active Layer 2 paths can lead to broadcast storms, duplicate frames, and MAC-address table instability.

  1. A

    True

  2. B

    False

15
Choose one
1 point

In a Cisco PVST+ deployment, how can the same trunk forward VLAN 10 while blocking VLAN 20?

  1. A

    A single tree is calculated for the entire switch, so every VLAN must use the same port state.

  2. B

    A separate tree is calculated for each VLAN, so the trunk can forward one VLAN and block another.

  3. C

    A separate tree is calculated for each trunk, so all VLANs on that trunk share one port state.

  4. D

    A separate tree is calculated for each switch port, regardless of VLAN.

16
Written response
1 point

In RSTP, what is the name of the intermediate port state in which a port learns MAC addresses but does not yet forward user traffic?

17
Choose one
1 point

Two switches have different bridge priorities, and the one with the lower priority value has a higher MAC address. Which switch wins the root-bridge election?

  1. A

    The switch with the highest priority value wins; if tied, the highest MAC address wins.

  2. B

    The switch with the lowest MAC address wins, regardless of priority.

  3. C

    The switch with the lowest priority value wins; if tied, the lowest MAC address wins.

  4. D

    The switch with the lowest total path cost wins, regardless of its bridge ID.

18
Written response
1 point

Which Cisco IOS-style command would you use to inspect the overall STP status rather than the details for one particular VLAN?

19
Written response
1 point

On interface GigabitEthernet1/0/1, you want to set the STP cost for VLAN 10 to 10. Enter the complete IOS-style interface command.

20
Written response
1 point

You are configuring a switch as the likely backup root for VLAN 10. Enter the complete IOS-style global configuration command.