Back to CCNA 200-301 v2 questions

Scenario-based practice

Spanning Tree Protocol Scenarios

Practise 200-301 STP questions covering root bridge election, bridge IDs, port roles (root, designated, blocking), path cost, PortFast, BPDU Guard, and how spanning tree prevents Layer 2 loops.

15
scenario questions
200-301
exam code
Cisco
vendor

Scenario guide

How to approach spanning tree protocol scenarios

STP and Rapid PVST+ questions test your understanding of root bridge election, port roles, port states, and protection features. These appear in MCQ, multi-select, and drag-and-drop formats on the CCNA because STP behaviour is non-intuitive and frequently misunderstood.

Quick answer

STP questions usually test root bridge election, port roles, path cost and how spanning tree prevents Layer 2 loops.

Root bridge election and bridge ID comparison.

Root ports, designated ports and blocked/alternate ports.

Path cost and how switches choose the best path to the root bridge.

PortFast, BPDU Guard and common Layer 2 loop-prevention behaviour.

Related practice questions

Related 200-301 topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1hardmultiple choice
Full question →

A network administrator notices that a switchport in access mode with PortFast enabled has transitioned to an err-disabled state. What is the most likely cause?

Exhibit

interface GigabitEthernet1/0/9
 switchport mode access
 spanning-tree portfast
 spanning-tree bpduguard enable

Event:
%SPANTREE-2-BLOCK_BPDUGUARD: Received BPDU on PortFast enabled port. Disabling interface.
Question 2hardmultiple choice
Open the full VLAN trunking answer →

In a network running STP, SW2 became the root bridge for VLAN 10. Both SW1 and SW2 have the same bridge priority. Why did SW2 become the root?

Exhibit

SW1# show spanning-tree vlan 10
VLAN0010
  Root ID    Priority    32778
             Address     0011.2233.4456
  Bridge ID  Priority    32778
             Address     0011.2233.4456

SW2# show spanning-tree vlan 10
VLAN0010
  Root ID    Priority    32778
             Address     0011.2233.4455
  Bridge ID  Priority    32778
             Address     0011.2233.4455
Question 3mediummulti select
Full question →

Which TWO of the following statements accurately describe the configuration and behavior of Root Guard, Loop Guard, and BPDU Guard in Rapid PVST+ environments?

Question 4easymultiple choice
Open the full STP breakdown →

What problem does Spanning Tree Protocol solve in a switched network?

Question 5hardmultiple choice
Full question →

A port connected to an end host is configured with PortFast and BPDU Guard. What is the most likely result if a small unmanaged switch is connected and starts sending BPDUs?

Question 6hardmultiple choice
Full question →

A network engineer notices that a new switch, SW3, was connected to port GigabitEthernet0/1 on SW1, but the port immediately went into an err-disabled state. The network uses Rapid PVST+ with BPDU Guard enabled globally on all access ports. The engineer checks the logs and sees 'bpduguard error detected' messages. What is the most likely cause of the err-disabled state?

Exhibit

SW1# show interfaces gigabitEthernet 0/1 status

Port      Name   Status       Vlan       Duplex  Speed Type
Gi0/1            err-disabled 1          auto    auto  10/100/1000BaseTX

SW1# show running-config interface gigabitEthernet 0/1
Building configuration...

Current configuration : 109 bytes
!
interface GigabitEthernet0/1
 switchport mode access
 spanning-tree bpduguard enable
end

SW1# show spanning-tree interface gigabitEthernet 0/1 detail
 Port 1 (GigabitEthernet0/1) of VLAN0001 is broken (BPDU Guard)
   Port path cost 4, Port priority 128, Port Identifier 128.1.
   Designated root has priority 32768, address aaaa.bbbb.cccc
   Designated bridge has priority 32768, address aaaa.bbbb.cccc
   Designated port id is 128.1, designated path cost 0
   Timers: message age 0, forward delay 0, hold 0
   BPDU: sent 0, received 3
Question 7mediummultiple choice
Full question →

Why is BPDU Guard commonly enabled on PortFast-enabled access ports?

Question 8mediummultiple choice
Open the full STP breakdown →

When spanning tree elects a root bridge, which value is considered first?

Question 9mediumdrag order
Full question →

Drag and drop the following steps into the correct order to configure and recover from a BPDU guard violation on a PortFast-enabled access port in RSTP.

Question 10hardmultiple choice
Full question →

A switch receives BPDUs on a user-facing port configured as an edge port, but instead of just blocking the port role it fully error-disables it. Which protection feature most likely explains that behavior?

Question 11hardmultiple choice
Read the full NAT/PAT explanation →

Exhibit: SW2 receives superior BPDUs on both uplinks. One uplink becomes the root port and the other becomes alternate. Which factor is considered first when SW2 chooses the root port?

Exhibit

SW2 uplink A root path cost = 4
SW2 uplink B root path cost = 19
Both links receive superior BPDUs
Question 12easymultiple choice
Open the full STP breakdown →

Which STP port state on a classic 802.1D switch listens for BPDUs and prepares to participate in the topology, but does not yet learn MAC addresses?

Question 13mediumdrag order
Read the full NAT/PAT explanation →

Drag and drop the following steps into the correct order to configure Rapid PVST+ with a designated root bridge, PortFast, and BPDU Guard on access ports.

Question 14mediumdrag order
Full question →

Drag and drop the following steps into the correct order to configure Rapid PVST+ on SW1, make it the root bridge, and enable PortFast with BPDU Guard on all access ports.

Question 15mediummultiple choice
Read the full NAT/PAT explanation →

An engineer wants users to get fast link-up on access ports but also wants the switch to disable a port if another switch is connected and sends BPDUs.

Which combination of features best meets that requirement?

These 200-301 practice questions are part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style 200-301 questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.