A. VLAN 0
B. VLAN 1
C. VLAN 100
D. VLAN 99
Answer: B. VLAN 1
Explanation: VLAN 1 is the default VLAN for all ports on Cisco switches. It is used for management and other control traffic unless
reconfigured.
2. Which command verifies the current STP root bridge on a switch?
A. show spanning-tree root
B. show vlan brief
C. show spanning-tree
D. show mac address-table
Answer: C. show spanning-tree
Explanation: The show spanning-tree command displays the current STP information, including the root bridge ID and root port.
3. Which Cisco protocol provides a loop-free Layer 2 network topology?
A. VTP
B. CDP
C. STP
D. HSRP
Answer: C. STP
Explanation: The Spanning Tree Protocol (STP) prevents loops in Layer 2 switching environments.
,4. In HSRP, what is the function of the ‘priority’ value?
A. It sets the physical interface bandwidth.
B. It determines the election of the active router.
C. It defines the hold time.
D. It configures authentication for the group.
Answer: B. It determines the election of the active router.
Explanation: The router with the highest priority becomes the active HSRP router.
5. Which two modes are valid for 802.1Q trunk negotiation using DTP? (Choose two)
A. Dynamic desirable
B. Static access
C. Trunk
D. Passive
E. Listening
Answer: A. Dynamic desirable, C. Trunk
Explanation: DTP allows interfaces configured in dynamic desirable and trunk mode to negotiate trunk links.
6. What is the purpose of VTP pruning?
A. It removes VLANs from the database.
B. It disables VLANs on access ports.
C. It prevents unnecessary VLAN traffic on trunk links.
D. It removes all untagged frames.
,Answer: C. It prevents unnecessary VLAN traffic on trunk links.
Explanation: VTP pruning improves bandwidth efficiency by blocking VLAN traffic on trunks where it’s not needed.
7. Which command configures a port as an access port?
A. switchport trunk encapsulation dot1q
B. switchport mode access
C. switchport access vlan trunk
D. switchport nonegotiate
Answer: B. switchport mode access
Explanation: This command forces the port to operate as an access port.
8. What feature allows a Layer 2 switch to prevent loops by blocking ports?
A. PortFast
B. STP
C. BPDU Guard
D. VTP
Answer: B. STP
Explanation: STP is responsible for detecting and blocking potential network loops.
9. Which port state allows the port to send and receive user data in STP?
A. Blocking
B. Listening
C. Learning
D. Forwarding
, Answer: D. Forwarding
Explanation: The forwarding state enables full data forwarding.
10. Which feature enhances STP by enabling rapid convergence?
A. MST
B. RSTP
C. PVST+
D. VTP
Answer: B. RSTP
Explanation: Rapid Spanning Tree Protocol allows faster network convergence compared to traditional STP.
11. What does the command switchport trunk allowed vlan 10,20 do?
A. Assigns VLAN 10 and 20 as native VLANs
B. Allows only VLANs 10 and 20 on the trunk
C. Converts the port into an access port
D. Disables all VLANs on the port
Answer: B. Allows only VLANs 10 and 20 on the trunk
Explanation: It restricts trunk traffic to VLANs 10 and 20 only.
12. What is the default administrative distance for EIGRP internal routes?
A. 110
B. 90
C. 120
D. 100