Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Multiple Choice Questions
Q151: What command is used to configure a banner message on a switch?
- A: banner motd
- B: hostname
- C: message-banner
- D: configure-banner
View Answer
A
Q152: Fill in the blank: A banner message that displays when users log into a switch can be set using the ________ command.
- A: banner motd
- B: enable secret
- C: security-password
- D: vlan-config
View Answer
A
Q153: Which type of password should be used for better security on a switch?
- A: Encrypted password
- B: Plain text password
- C: Console password
- D: Router password
View Answer
A
Q154: Fill in the blank: To configure a console password, use the command ________. line console 0
- A: password console
- B: security-password
- C: line vty 0 4
- D:
View Answer
A
Q155: Fill in the blank: To prevent unauthorized access, it is a good practice to ________ console and VTY lines. Configure passwords
- A: Set IP addresses
- B: Enable routing
- C: Setup VLANs
- D:
View Answer
A
Q156: What is the purpose of the `banner motd` command?
- A: To configure a message of the day banner
- B: To set up VLANs
- C: To manage user privileges
- D: To configure IP addresses
View Answer
A
Q157: Fill in the blank: To secure the command-line interface (CLI) on a switch, you should use ________ passwords. Encrypted
- A: Plain text
- B: Backup
- C: Temporary
- D:
View Answer
A
Q158: Which command is used to set a plain text password for accessing a switch?
- A: enable secret
- B: line console 0
- C: enable password
- D: password
View Answer
A
Q159: What is the first step in implementing basic connectivity in Packet Tracer?
- A: Configure IP addressing
- B: Configure VLANs
- C: Setup routing protocols
- D: Configure DHCP
View Answer
A
Q160: Fill in the blank: After configuring IP addressing on switches and PCs, use the ________ command to verify connectivity between devices.
- A: ping
- B: route
- C: arp
- D: show
View Answer
A