Courseiva

350-401 · topic practice

Spanning Tree practice questions

Practise 350-401 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.

Reviewed byJohnson Ajibi· MSc IT Security
9 questionsDomain: Spanning Tree

What the exam tests

What to know about Spanning Tree

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 Spanning Tree 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 Spanning Tree 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

Spanning Tree questions

9 questions · select your answer, then reveal the explanation

Question 1hardmultiple choice
Open the full VLAN trunking answer →

A network engineer runs the following command on Switch SW1:

SW1# show interfaces trunk

Port Mode Encapsulation Status Native vlan Gi0/1 on 802.1q trunking 1 Gi0/2 on 802.1q trunking 1

Port Vlans allowed on trunk Gi0/1 1-1005 Gi0/2 1-1005

Port Vlans allowed and active in management domain Gi0/1 1,10,20 Gi0/2 1,10,20

Port Vlans in spanning tree forwarding state and not pruned Gi0/1 1,10,20 Gi0/2 1,10,20

Based on this output, what can be concluded?

Question 2mediummultiple choice
Open the full STP breakdown →
spanning-tree mode rapid-pvst

What is the effect of this global configuration command?

Question 3mediummultiple choice
Open the full VLAN trunking answer →

Examine the following partial Cisco IOS-XE configuration:

interface GigabitEthernet0/1
 switchport mode access
 switchport access vlan 10
 ip access-group ACL_IN in
 spanning-tree portfast

What is the effect of this configuration?

Question 4mediumdrag order
Open the full STP breakdown →

Drag and drop the steps of MSTP region and instance configuration steps into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 5mediummultiple choice
Open the full VLAN trunking answer →

Given the following configuration snippet on a Cisco IOS-XE switch:

interface GigabitEthernet1/0/1
 switchport mode access
 switchport access vlan 10
 spanning-tree portfast

monitor session 1 source interface GigabitEthernet1/0/1 both monitor session 1 destination interface GigabitEthernet1/0/2

What is the effect of this configuration?

Question 6mediumdrag order
Open the full STP breakdown →

Drag and drop the steps for configuring STP root guard and loop guard and the resulting port behavior into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 7mediumdrag order
Open the full STP breakdown →

Drag and drop the steps of STP path cost manipulation for load balancing into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 8hardmulti select
Open the full STP breakdown →

Which three statements about Multiple Spanning Tree Protocol (MSTP) are true? (Choose three.)

Question 9mediumdrag order
Open the full STP breakdown →

Drag and drop the steps of MST region configuration and operation into the correct order, from first to last.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Free account

Track your progress over time

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

Focused Spanning Tree sessions

Start a Spanning Tree only practice session

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

Related practice questions

Related 350-401 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the 350-401 exam test about Spanning Tree?
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 Spanning Tree questions in a focused session?
Yes — the session launcher on this page draws every question from the Spanning Tree 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 350-401 topics?
Use the topic links above to move to related areas, or go back to the 350-401 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 350-401 exam covers. They are not copied from any real exam or dump site.