STP Quiz: Test Your Knowledge

Quiz

Question 1

What is the primary purpose of Spanning Tree Protocol in a network?

a) To encrypt traffic between switches for better security.
b) To prevent layer 2 loops and broadcast storms in redundant networks.
c) To assign IP addresses to switches automatically.
d) To increase the speed of data transmission across the backbone.


Question 2

Which field in a Bridge ID (BID) does an administrator typically modify to influence the Root Bridge election?

a) Port Cost
b) MAC Address
c) Bridge Priority
d) IP Address


Question 3

What is the total convergence time for a port using legacy STP (802.1d) to move from a blocked state to a forwarding state?

a) 2 seconds
b) 30 seconds
c) 15 seconds
d) 50 seconds


Question 4

Which STP feature allows an access port to transition immediately to the forwarding state while still protecting against loops if a BPDU is received?

a) Loop Guard
b) Root Guard
c) PortFast and BPDU Guard
d) EtherChannel


Question 5

Rapid PVST+ (RPVST+) improves upon Legacy STP by using which mechanism instead of traditional timers?

a) A longer max age timer to improve stability
b) It disables BPDUs entirely
c) It only allows one VLAN per network
d) A proposal and agreement handshake between switches


Question 6

Why is it dangerous for a low-end edge switch to be elected as the Root Bridge in a large network?

a) All traffic may be logically funneled through the edge switch, creating a bottleneck
b) It disables the management IP address of the core switches
c) It will cause the switch to overheat from processing all network BPDUs
d) Edge switches cannot send BPDUs


Question 7

If two switches have the same Bridge Priority, how does STP decide which switch becomes the Root Bridge?

a) The switch with the highest IP address
b) The switch with the lowest IP address
c) The switch with the highest MAC address
d) The switch is the lowest MAC address


Question 8

What happens if a Layer 2 loop occurs in a network where STP is NOT running?

a) The frame's TTL will expire and it will be dropped
b) Frames will circulate indefinitely
c) The switches will automatically enable a backup routing protocol
d) Only the original sender of the frame will be affected


Question 9

Which STP version adds load balancing but increases overhead?

a) STP
b) RSTP
c) PVST+
d) SSTP


Question 10

Which of these is not a valid port state in STP?

a) Blocking
b) Receiving
c) Listening
d) Disabled



Answers

Question 1

What is the primary purpose of Spanning Tree Protocol in a network?

a) To encrypt traffic between switches for better security.
b) To prevent layer 2 loops and broadcast storms in redundant networks.
c) To assign IP addresses to switches automatically.
d) To increase the speed of data transmission across the backbone.


Question 2

Which field in a Bridge ID (BID) does an administrator typically modify to influence the Root Bridge election?

a) Port Cost
b) MAC Address
c) Bridge Priority
d) IP Address


Question 3

What is the total convergence time for a port using legacy STP (802.1d) to move from a blocked state to a forwarding state?

a) 2 seconds
b) 30 seconds
c) 15 seconds
d) 50 seconds


Question 4

Which STP feature allows an access port to transition immediately to the forwarding state while still protecting against loops if a BPDU is received?

a) Loop Guard
b) Root Guard
c) PortFast and BPDU Guard
d) EtherChannel


Question 5

Rapid PVST+ (RPVST+) improves upon Legacy STP by using which mechanism instead of traditional timers?

a) A longer max age timer to improve stability
b) It disables BPDUs entirely
c) It only allows one VLAN per network
d) A proposal and agreement handshake between switches


Question 6

Why is it dangerous for a low-end edge switch to be elected as the Root Bridge in a large network?

a) All traffic may be funneled through the edge switch, creating a bottleneck
b) It disables the management IP address of the core switches
c) It will cause the switch to overheat from processing all network BPDUs
d) Edge switches cannot send BPDUs


Question 7

If two switches have the same Bridge Priority, how does STP decide which switch becomes the Root Bridge?

a) The switch with the highest IP address
b) The switch with the lowest IP address
c) The switch with the highest MAC address
d) The switch is the lowest MAC address


Question 8

What happens if a Layer 2 loop occurs in a network where STP is NOT running?

a) The frame's TTL will expire and it will be dropped
b) Frames will circulate indefinitely
c) The switches will automatically enable a backup routing protocol
d) Only the original sender of the frame will be affected


Question 9

Which STP version adds load balancing but increases overhead?

a) STP
b) RSTP
c) PVST+
d) SSTP


Question 10

Which of these is not a valid port state in STP?

a) Blocking
b) Receiving
c) Listening
d) Disabled