Courseiva

JNCIS-ENT · topic practice

Spanning Tree practice questions

Practise JNCIS-ENT 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
20 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

20 questions · select your answer, then reveal the explanation

Question 1hardmultiple choice
Open the full STP breakdown →

An administrator needs to configure MSTP on a group of EX Series switches. Which three parameters must be identical across all switches in the same MST region?

Question 2easymultiple choice
Open the full STP breakdown →

Which protocol standard defines Rapid Spanning Tree Protocol (RSTP)?

Question 3hardmulti select
Open the full STP breakdown →

Which TWO conditions will cause an RSTP port configured with loop protection to transition into a discarding state? (Choose two.)

Question 4mediummultiple choice
Open the full STP breakdown →

You are configuring Multiple Spanning Tree Protocol (MSTP) across multiple EX Series switches in your enterprise network. Which three parameters must be identical across all switches to ensure they belong to the same MST region?

Question 5mediummulti select
Open the full STP breakdown →

Which TWO actions occur when you configure an interface as an edge port using 'set protocols rstp interface ge-0/0/10.0 edge' on a Juniper switch? (Choose two.)

Question 6hardmulti select
Open the full STP breakdown →

When configuring and verifying MSTP on Junos devices, which THREE statements are correct regarding regional boundaries and communication? (Choose three.)

Question 7easymultiple choice
Open the full STP breakdown →

What is the default bridge priority value assigned to Juniper EX Series switches when RSTP is enabled?

Question 8easymultiple choice
Open the full VLAN trunking answer →

Which command allows an operator to view the designated root bridge identifier and port roles for all active VLANs under RSTP?

Question 9mediummultiple choice
Open the full STP breakdown →

You need to ensure that a core switch retains its position as the root bridge even if a new switch with a manually lowered bridge priority is added to the network. Which feature should you configure on the core switch's ports facing the downstream switches?

Question 10hardmultiple choice
Open the full STP breakdown →

An EX Series switch running RSTP receives BPDUs with superior path cost information from an unauthorized access switch. Which feature should you enable on access-facing ports to prevent these unauthorized BPDUs from altering the spanning tree topology?

Question 11mediummultiple choice
Open the full STP breakdown →

You are troubleshooting a suboptimal spanning tree topology where an EX4300 switch is chosen as the STP Root Bridge despite having a high bridge priority. What command helps verify the current bridge priority and local bridge identifier parameters?

Question 12mediummultiple choice
Open the full STP breakdown →

While examining an RSTP topology, you notice that a designated port has suddenly stopped receiving BPDUs from its upstream neighbor, causing the port to transition into a discarding state to prevent potential loops. Which feature is actively providing this protection?

Question 13easymultiple choice
Open the full STP breakdown →

An administrator has deployed a new EX Series switch running RSTP and notices that access ports connected to end-user workstations take up to 30 seconds to transition to the forwarding state. Which configuration command should be applied to immediately resolve this delay for access ports?

Question 14easymultiple choice
Open the full STP breakdown →

What is the role of the Root Port in an RSTP topology?

Question 15hardmultiple choice
Open the full STP breakdown →

An enterprise network runs MSTP. Instance 0 is always reserved for which specific purpose?

Question 16easymultiple choice
Open the full STP breakdown →

What is the primary function of the RSTP port role known as the 'Backup' port?

Question 17mediummultiple choice
Open the full VLAN trunking answer →

You are configuring MSTP and want to assign VLANs 10 through 50 to MST instance 2. Which configuration hierarchy is correct in Junos OS?

Question 18mediummultiple choice
Open the full STP breakdown →

You suspect that a network loop has formed due to a misconfigured RSTP topology on your EX Series switches. Which command shows real-time topology change notifications and counts on the switch?

Question 19hardmultiple choice
Open the full STP breakdown →

When configuring MSTP, what purpose does the regional configuration digest serve?

Question 20hardmultiple choice
Open the full STP breakdown →

An operator configures RSTP across multiple EX Series switches. A rogue switch running legacy STP is connected to an RSTP switch. How does the RSTP switch handle interaction with the legacy STP switch?

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 JNCIS-ENT topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the JNCIS-ENT 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 JNCIS-ENT topics?
Use the topic links above to move to related areas, or go back to the JNCIS-ENT 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 JNCIS-ENT exam covers. They are not copied from any real exam or dump site.