CCNA Practice Quiz Spanning Tree Protocol

mcq quiz computer fundamentals

This quiz section contains a CCNA practice quiz on spanning tree protocol.  You can test your skills on the basic functionalities of spanning tree protocol in layer 2 switching. The following quiz section contains multiple-choice questions, drag and drops as well as “refer to the exhibit” questions as per the CCNA 200-301 Exam pattern. 

The CCNA practice quiz is very helpful for the preparation for CCNA 200-301 certification exam.

Each question is provided with the correct answer and an explanation for the correct answer. Click on the button named “Answer” just below the question to view the answer and the explanation. You can hide the answer and the explanation by re-clicking the “Answer” button.


CCNA  Practice Quiz – Spanning Tree Protocol


1. Why spanning tree protocols are implemented in layer 2 switching?

  1. to acquire a higher data transfer rate
  2. to avoid bridging loops due to redundant link.
  3. for inter VLAN routing.
  4. All of the above.

Answer: Option B

Explanation: The correct option is B. The purpose of implementing STP in layer 2 switching is for loop avoidance due to redundant link.

2. Which of the following parameters are used by the spanning tree protocol to elect a root bridge? Choose two.

  1. Bridge priority
  2. Mac address
  3. IOS version
  4. link speed

Answer: Options A and B

Explanation: The correct options are A and B. At first, STP uses the bridge priority to select the root bridge. If the tiebreaker occurs, then it uses the mac addresses with the least value for the root bridge selection.

3. Which of the following events occur, when STP is disabled on a switched network? 

  1. Broadcast storm
  2. unstable mac table
  3. traffic congestion
  4. All of the above

Answer: Option D

Explanation: The correct option is D. All of the above events occur when STP is disabled in a switched network.

4. The classic spanning tree protocol (original STP) is specified in IEEE standardization as _____________.

  1. 802.1d
  2. 802.1q
  3. 802.1w 
  4. 802.1z

Answer: Option A

Explanation: The correct answer is A. The original STP is published by IEEE as 802.1d standard.

5. Which of the following messages are shared by STP enabled switches among themselves to discover the bridging loops in the layer2 network?

  1. Hello message
  2. BPDU message
  3. ICMP message
  4. ARP request

Answer: Option B

Explanation: The correct option is B. BPDU stands for the bridge protocol data unit. BPDU messages contain information about the spanning tree protocol.
6. Which of the following is not a switch port state of an STP enabled switch?

  1. blocking state
  2. listening state
  3. learning state
  4. forwarding state
  5. Requesting state

Answer: Option E

Explanation: The correct option is E.
7. Which of the following statements are not true about root bridge?

  1. The switch having the lowest bridge is elected as the root bridge.
  2. There can be multiple root bridges in a single network segment.
  3. The selection of root bridge occurs whenever there is a topology change in the network.
  4. The bridge id is a combination of the switch priority id and the mac address.

Answer: Option B

Explanation: The correct option is B. There can be only one root bridge in a single network segment.

8. What is the default cost value of the FastEthernet port of Cisco Catalyst switch 2960?

  1. 2
  2. 4
  3. 19
  4. 100

Answer: Option C

Explanation: The correct answer is option C. The cost value for the FastEthernet port is 19. The link speed for fastethernet port is 100mbps.

9. During the selection of the root bridge,  the bridge priority is identical for two switches. Which of the following will decide the final selection of root bridge between them?

  1. switch with higher value of mac address
  2. switch with the lower value of mac address
  3. VLAN ID
  4. Path cost

Answer: Option B

Explanation: The correct answer is option B. In case, the bridge priority is the same during root bridge selection, the mac address with the least value is taken for the election of the root bridge.
10. What does R in RSTP stands for?

  1. Robust
  2. Rapid
  3. Redundant
  4. Rare

Answer: Option B

Explanation: The correct answer is B. RSTP stands for Rapid Spanning Tree Protocol.

11. RSTP is a newer version of the original STP.  It is specified by IEEE as ___________ standards.

  1. 802.1d
  2.  802.1q
  3. 802.1r
  4. 802.1w

Answer: Option D

Explanation: The correct answer is option D. RSTP is introduced by IEEE in 2001 as 802.1w standard.

12. Which of the following are the valid STP port state? Choose three.

  1. Forwarding
  2. Listening
  3. Denying
  4. Blocking
  5. Transferring

Answer: Options A, B and D

Explanation: The correct option is A, B and D. Forwarding, listening and blocking are the valid states of a switch interface. Whereas denying and transferring are invalid.
13. The default STP priority value for all layer 2 switch is _______________.

  1. 1
  2. 1024
  3. 4096
  4. 32768

Answer: Option D

Explanation: The correct option is D.

14. Which of the following commands will allow a switch port or trunk port to enter into the forwarding mode as quickly as possible from the blocking state?

  1. spanningtree converge-fast
  2. spanning-tree port-fast enable
  3. spanning-tree portfast
  4. spanning-tree rstp

Answer: Option C

Explanation: The correct option is C.

15. Which of the following statements are true about RSTP? 

  1. RSTP helps to reduce the reconvergence time after the link failure.
  2. it expands the STP port roles by adding alternate and backup roles.
  3. RSTP has only three forwarding states namely discarding, learning and forwarding
  4. All of the above

Answer: Option D

Explanation: The correct option is D. 

16. Which of the following statements are true about root port?

  1. The root port is a switch port on every other switch in the STP network to reach the root bridge.
  2. The root port of the other switch must have the least-cost path to reach the root bridge
  3. The root bridge will never have a root port.
  4. All of the above.

Answer: Option D

Explanation: All of the above options are about the characteristics of the root port.
17. Which of the following statements are true about designated ports?

  1. The designated port can never be a root port.
  2. All the ports on the root bridge are the designated ports.
  3. The other end of the designated port is called the non-designated port.
  4. All of the above

Answer: Option D

Explanation: All the options are true about the designated ports.

18. During spanning-tree _________ state, the port in a switch does not involve in frame forwarding. It discards all the received frame. It only listens to the BPDU and processes it.

  1. Listening
  2. Blocking
  3. Learning
  4. Disabled

Answer: Option B

Explanation: The correct option is B. 

19. By default, after how many seconds the switch port transits from learning to forwarding state?

  1. 10 seconds
  2. 15 seconds
  3. 20 seconds
  4. 25 seconds

Answer: Option B

Explanation: The correct option is B.

20. What does LACP stand for?

  1. Link Activated Control Protocol
  2. Link Aggregation Control Protocol
  3. Link Activated Configuration Protocol
  4. Link Active Configuration Protocol

Answer: Option B

Explanation: The correct option is B. Link Aggregation Control protocol helps to combine multiple network connections to increase throughput.

← Prev Next →

You may like to try other  MCQ Quizzes

MCQ – Computer Networking

MCQ – Computer Hardware

MCQ – Network Security

MCQ – CCNA 200-301 Practice Quiz

Leave a Reply