Skip to main content

Routing and Switching MCQs with Answers

Practice important Routing and Switching MCQs with answers and explanations.

Chapter: 159
Q1821:
What does STA stand for in networking?
A. Spanning Tree Algorithm
B. Static Tree Algorithm
C. Spanning Transfer Algorithm
D. Static Transfer Algorithm
Correct Answer: A
Chapter: 159
Q1822:
Fill in the blank: The switch with the _______ BID becomes the root bridge in the STA.
A. highest
B. lowest
C. average
D. middle
Correct Answer: B
Chapter: 159
Q1823:
What is a BPDU in the context of STP?
A. A Broadcast Packet Data Unit
B. A Bridge Protocol Data Unit
C. A Base Protocol Data Unit
D. A Basic Protocol Data Unit
Correct Answer: B
Chapter: 159
Q1824:
Fill in the blank: STA calculates the _______ path to the root bridge based on port costs.
A. longest
B. shortest
C. average
D. most complex
Correct Answer: B
Chapter: 159
Q1825:
What role does a root port play in the STP?
A. It is the switch port closest to the root bridge.
B. It is a port that blocks traffic.
C. It is a port that only forwards traffic to the root bridge.
D. It is a port disabled for security reasons.
Correct Answer: A
Chapter: 159
Q1826:
Fill in the blank: _______ ports are configured to be in a blocking state to prevent loops in STP.
A. Root
B. Designated
C. Alternate and backup
D. Disabled
Correct Answer: C
Chapter: 159
Q1827:
What is the purpose of the root bridge in STP?
A. To determine which ports should be put into a blocking state
B. To increase network bandwidth
C. To improve security
D. To handle unicast traffic
Correct Answer: A
Chapter: 159
Q1828:
Fill in the blank: After a switch boots, it sends out BPDUs every _______ seconds.
A. 1
B. 2
C. 5
D. 10
Correct Answer: B
Chapter: 159
Q1829:
What happens if the root ID in a received BPDU is lower than the root ID on the receiving switch?
A. The receiving switch updates its root ID
B. The BPDU is discarded
C. The switch disables the port
D. The switch sends a new BPDU
Correct Answer: A
Chapter: 159
Q1830:
Fill in the blank: Port costs in STP are used to determine the _______ path to the root bridge.
A. most secure
B. fastest
C. shortest
D. most efficient
Correct Answer: C
Chapter: 159
Q1831:
What command is used to configure the port cost of an interface in STP?
A. spanning-tree cost value
B. spanning-tree port cost
C. spanning-tree set cost
D. spanning-tree update cost
Correct Answer: A
Chapter: 159
Q1832:
Fill in the blank: The path cost is equal to the sum of all the _______ along the path to the root bridge.
A. default values
B. port costs
C. broadcast frames
D. root IDs
Correct Answer: B
Chapter: 159
Q1833:
What does the extended system ID in a BID help determine?
A. The type of spanning tree used
B. The root bridge
C. The spanning tree instance
D. The path cost
Correct Answer: C
Chapter: 160
Q1834:
What does the Protocol ID field in a BPDU frame indicate?
A. The type of protocol being used
B. The version of the protocol
C. The type of message
D. The status flags
Correct Answer: A
Chapter: 160
Q1835:
Fill in the blank: The _______ field in a BPDU frame indicates the root bridge by listing its 2-byte priority and 6-byte MAC address.
A. Cost of path
B. Root ID
C. Bridge ID
D. Port ID
Correct Answer: B
Chapter: 160
Q1836:
What does the Cost of path field in a BPDU frame represent?
A. The cost of the path from the root bridge to the sending bridge
B. The cost of the path from the sending bridge to the root bridge
C. The total cost of all paths in the network
D. The default cost of all switch ports
Correct Answer: B
Chapter: 160
Q1837:
Fill in the blank: The Port ID field in a BPDU frame indicates the _______ from which the configuration message was sent.
A. switch number
B. port number
C. bridge number
D. MAC address
Correct Answer: B
Chapter: 160
Q1838:
What does the Message Age field in a BPDU frame indicate?
A. The time since the root bridge sent the configuration message
B. The time since the BPDU was received
C. The time since the message was sent from the sending bridge
D. The maximum age of the BPDU
Correct Answer: A
Chapter: 160
Q1839:
Fill in the blank: The Hello Time field in a BPDU frame defines the interval between _______ configuration messages.
A. root bridge
B. switch
C. bridge
D. port
Correct Answer: A
Chapter: 160
Q1840:
What is the default value for the Hello Time field in a BPDU frame?
A. 1 second
B. 2 seconds
C. 5 seconds
D. 10 seconds
Correct Answer: B

Test Your Knowledge

Take a timed quiz on Routing and Switching

🚀 Start Quiz Now