11. Which of the following commands secures a switch by restricting access to it?
- a) enable password
- b) line vty
- c) access-list
- d) interface security
Answer: a) enable password
The enable password command secures access to the switch by setting a password that is required to enter Privileged EXEC mode.
12. What is the function of the no shutdown
command on a switch interface?
- a) Disable the interface
- b) Enable the interface
- c) Reset the interface
- d) Test the interface
Answer: b) Enable the interface
The
no shutdown
command is used to enable an interface that has been administratively shut down.
13. Fill in the blank: A switch operating in ____ mode can forward frames based on the MAC address.
- a) Store-and-Forward
- b) Cut-Through
- c) Fragment-Free
- d) Fast-Forward
Answer: b) Cut-Through
In Cut-Through mode, a switch begins forwarding a frame as soon as it reads the destination MAC address, which reduces latency.
14. Which command would you use to connect to a switch using SSH from a PC?
- a) ssh <username>@<IP address>
- b) telnet <IP address>
- c) connect <IP address>
- d) remote <IP address>
Answer: a) ssh <username>@<IP address>
The
ssh <username>@<IP address>
command is used to initiate an SSH connection to the switch.
15. Which of the following represents a broadcast domain?
- a) A single VLAN
- b) A single switch
- c) A single hub
- d) A single router
Answer: a) A single VLAN
Each VLAN represents a separate broadcast domain, meaning broadcasts sent within one VLAN do not propagate to another.
16. What is the default data encapsulation type for a serial interface on a Cisco switch?
- a) PPP
- b) HDLC
- c) Frame Relay
- d) Ethernet
Answer: b) HDLC
The default data encapsulation on Cisco serial interfaces is HDLC (High-Level Data Link Control).
17. Which command is used to set a password for Telnet access to a switch?
- a) telnet password
- b) line vty password
- c) enable secret
- d) line console password
Answer: b) line vty password
The
line vty password
command sets a password that must be entered to access the switch via Telnet.
18. Fill in the blank: The _____ command is used to view IP address information on a switch.
- a) show ip
- b) show interface
- c) show ip interface brief
- d) show ip config
Answer: c) show ip interface brief
The
show ip interface brief
command provides a summary of the IP addresses configured on the switch interfaces.
19. Which IP address class allows for the largest number of hosts on a network?
- a) Class A
- b) Class B
- c) Class C
- d) Class D
Answer: a) Class A
Class A networks have the largest number of host addresses available due to their 8-bit network prefix.
20. What does VLAN stand for?
- a) Virtual Local Area Network
- b) Variable Local Area Network
- c) Virtual Linked Area Network
- d) Variable Linked Area Network
Answer: a) Virtual Local Area Network
VLAN stands for Virtual Local Area Network, which is a way to segment networks logically at the data link layer.