Courseiva

200-301 · topic practice

STP practice questions

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.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member

What the exam tests

What to know about STP

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.

Why learners struggle

Why STP questions are commonly missed

STP questions are missed when learners confuse bridge ID comparison direction, forget how ties are broken, or misidentify which port role a given switch port takes. The lowest bridge ID wins, but cost, port ID, and tiebreakers all play a role.

  • ·Lowest bridge ID wins root election — lower priority wins, then lower MAC breaks ties
  • ·Root port vs designated port — each non-root switch has exactly one root port
  • ·Blocking ports are on non-designated segments — they receive BPDUs but do not forward
  • ·PortFast bypasses STP states — only safe on access ports connected to end devices
  • ·BPDU Guard shuts down PortFast ports that receive BPDUs — protecting against loops
  • ·STP path cost uses link bandwidth — faster links have lower cost and are preferred

Watch out for

Common STP exam traps

  • ▸The lowest bridge ID wins root bridge election.
  • ▸A non-root switch has one root port: its best path toward the root bridge.
  • ▸PortFast should be used carefully on access ports, not normal switch-to-switch links.
  • ▸Lower STP cost is preferred, but bridge ID and port ID can break ties.

Practice set

STP questions

20 questions · select your answer, then reveal the explanation

Question 1mediummatching
Open the full STP breakdown →

Match each switching feature to its most accurate purpose.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Speeds an edge port into forwarding state

Disables an edge port if a BPDU is received

Limits and controls MAC address use on a switch port

Helps block rogue DHCP behavior and build trusted bindings

Question 2hardmultiple choice
Open the full STP breakdown →

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

Question 3mediummulti select
Open the full STP breakdown →

Which three features are used to mitigate Layer 2 security threats on a Cisco switch? (Choose three.)

Question 4hardmultiple choice
Open the full VLAN trunking answer →

A network administrator recently configured BPDU Guard on all access ports of a switch to protect against rogue switches. After the change, users in VLAN 10 report intermittent connectivity issues and frequent link flaps. The administrator checks the switch and notices that several ports are in an err-disabled state. What is the most likely cause of the problem?

Exhibit

SW1# show interfaces status 
Port      Name   Status       Vlan       Duplex Speed Type
Gi0/1            err-disabled 10         auto   auto  10/100/1000BaseTX
Gi0/2            err-disabled 10         auto   auto  10/100/1000BaseTX
Gi0/3            err-disabled 10         auto   auto  10/100/1000BaseTX
Gi0/4            err-disabled 10         auto   auto  10/100/1000BaseTX
Gi0/5            connected    trunk      auto   auto  10/100/1000BaseTX
Gi0/6            connected    1          auto   auto  10/100/1000BaseTX
Gi0/7            connected    1          auto   auto  10/100/1000BaseTX

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

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

SW1# show running-config | include bpduguard
spanning-tree portfast bpduguard default
Question 5mediummultiple choice
Open the full STP breakdown →

Exhibit: A user reports intermittent connectivity after a new switch was connected to an access port. Which feature would have prevented this by immediately disabling the port when a BPDU was received?

Question 6hardmultiple choice
Open the full STP breakdown →

A switch is configured with DHCP snooping and Dynamic ARP Inspection. Hosts suddenly lose connectivity after changing IP settings manually. Which explanation is strongest?

Question 7hardmultiple choice
Open the full STP breakdown →

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 8mediummultiple choice
Open the full STP breakdown →

A user reports that their desk port stopped working immediately after they connected a small switch. The interface shows err-disabled, and the log mentions BPDU Guard. What most likely happened?

You are connected to switch SW1, which runs Rapid-PVST+. SW2 is the intended root bridge for VLAN 10 (priority 8192). SW1 was accidentally configured with priority 4096 for VLAN 10, so it became the root. In addition, the server port Gi0/1 (PortFast with BPDU Guard) was err-disabled after receiving BPDUs. Restore SW1 to the default priority for VLAN 10 so that it is no longer the root bridge, and configure automatic recovery from err-disable caused only by BPDU Guard violations, with a 300-second interval. Then verify that SW1 is not the root for VLAN 10.

Exhibit

SW1# show running-config | include spanning-tree|errdisable
spanning-tree mode rapid-pvst
spanning-tree vlan 10 priority 4096

SW1# show running-config interface GigabitEthernet0/1
interface GigabitEthernet0/1
 description Server Port
 switchport mode access
 switchport access vlan 10
 spanning-tree portfast
 spanning-tree bpduguard enable

SW1# show spanning-tree vlan 10
VLAN0010
  Spanning tree enabled protocol rstp
  Root ID    Priority    4106
             Address     aabb.cc00.0100
             This bridge is the root
  Bridge ID  Priority    4106   (priority 4096 sys-id-ext 10)
             Address     aabb.cc00.0100

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------
Gi0/0               Desg FWD 4         128.1    P2p

SW1# show interfaces status err-disabled
Port      Name               Status         Reason               Err-disabled Vlans
Gi0/1     Server Port        err-disabled   bpduguard
Question 10mediummulti select
Open the full VLAN trunking answer →

Which three of the following are characteristics of Layer 2 Ethernet switches that support VLANs? (Choose three.)

Question 11hardmultiple choice
Open the full STP breakdown →

A network engineer notices that an uplink port on a distribution switch has moved to a root-inconsistent state and is blocking traffic. The port is configured with Root Guard and is connected to a new access switch. The new access switch has a lower bridge priority than the current root bridge. What is the most likely cause?

Question 12mediummultiple choice
Open the full VLAN trunking answer →

A switch administrator enters the following commands on interface GigabitEthernet1/0/10:

interface g1/0/10
 switchport mode access
 switchport access vlan 30
 spanning-tree portfast
 spanning-tree bpduguard enable

A user connects a small managed switch to this port, and the access port immediately changes to an err-disabled state.

Which feature caused the port to shut down?

Question 13hardmultiple choice
Open the full STP breakdown →

Users report that their PCs take over 30 seconds to obtain IP addresses and reach the network after being powered on. A network technician checks a switch port connected to a PC and observes that the port transitions through blocking, listening, learning, and then forwarding states, taking about 30 seconds to complete. The switch is running standard 802.1D STP. The technician confirms the port is an access port and only connects to a PC. What should the technician do next?

Question 14hardmultiple choice
Open the full STP breakdown →

A switch receives superior BPDUs on a port where the design requires that no downstream device ever become the root path for that segment. Which feature is the best fit for that requirement?

Question 15mediummulti select
Open the full STP breakdown →

Which two actions help protect access-layer switch ports from rogue DHCP servers?

Question 16hardmultiple choice
Open the full STP breakdown →

A network team wants visibility into which flows are consuming the most bandwidth between internal subnets. Which technology is most directly associated with that goal?

Question 17easymultiple choice
Open the full STP breakdown →

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

Question 18mediummultiple choice
Open the full STP breakdown →

Which spanning-tree port state listens for BPDUs and participates in STP, but does not learn MAC addresses yet?

Question 19hardmultiple choice
Open the full STP breakdown →

A switch port connected to an edge host immediately transitions to forwarding and then later goes err-disabled after a BPDU is received. Which feature combination most likely produced this behavior?

Question 20mediummultiple choice
Open the full STP breakdown →

Which spanning-tree port role receives the best BPDU toward the root bridge on a nonroot switch?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused STP sessions

Start a STP only practice session

Every question in these sessions is drawn from the STP domain — nothing else.

Related practice questions

Related 200-301 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the 200-301 exam test about STP?
STP questions usually test root bridge election, port roles, path cost and how spanning tree prevents Layer 2 loops.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just STP questions in a focused session?
Yes — the session launcher on this page draws every question from the STP domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other 200-301 topics?
Use the topic links above to move to related areas, or go back to the 200-301 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the 200-301 exam covers. They are not copied from any real exam or dump site.