Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Chapter: 14
Q141:
Which of the following is NOT a guideline for naming conventions of hostnames in Cisco IOS?
A. Names should start with a letter
B. Names can contain spaces
C. Names should end with a letter or digit
D. Names should be less than 64 characters
Correct Answer:
B
Chapter: 14
Q142:
Fill in the blank: To secure access to a Cisco device through Telnet, you should configure ________.
A. VTY lines
B. Console port
C. Enable secret command
D. Hostnames
Correct Answer:
A
Chapter: 14
Q143:
What is the primary reason for securing the console port on a Cisco device?
A. To prevent unauthorized physical access to the device
B. To configure VTY lines
C. To set the hostname
D. To enable Telnet access
Correct Answer:
A
Chapter: 14
Q144:
Fill in the blank: Hostnames configured on a Cisco device appear in the ________ prompts.
A. CLI
B. Command-line
C. User EXEC
D. Privileged EXEC
Correct Answer:
A
Chapter: 14
Q145:
What command should be used to configure a secure password for accessing privilege EXEC mode?
A. enable secret
B. configure terminal
C. show version
D. enable password
Correct Answer:
A
Chapter: 14
Q146:
Fill in the blank: A Cisco IOS switch can be plugged in and used without any initial ________. Configuration
A. Hostnames
B. Passwords
C. Network settings
Correct Answer:
A
Chapter: 15
Q147:
What is the purpose of configuring passwords on a switch?
A. To secure access to the CLI and console ports
B. To configure VLANs
C. To set up routing protocols
D. To manage network traffic
Correct Answer:
A
Chapter: 15
Q148:
Fill in the blank: Encrypted passwords provide ________ compared to plain text passwords.
A. Better security
B. Less security
C. No security
D. Similar security
Correct Answer:
A
Chapter: 15
Q149:
Which command is used to configure an encrypted password for access to the CLI?
A. enable password
B. enable secret
C. password
D. security-password
Correct Answer:
B
Chapter: 15
Q150:
Fill in the blank: The purpose of configuring banner messages on a switch is to ________. Warn unauthorized users
A. Configure IP addresses
B. Manage VLANs
C. Monitor network traffic
Correct Answer:
A
Chapter: 15
Q151:
What command is used to configure a banner message on a switch?
A. banner motd
B. hostname
C. message-banner
D. configure-banner
Correct Answer:
A
Chapter: 15
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
Correct Answer:
A
Chapter: 15
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
Correct Answer:
A
Chapter: 15
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
Correct Answer:
A
Chapter: 15
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
Correct Answer:
A
Chapter: 15
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
Correct Answer:
A
Chapter: 15
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
Correct Answer:
A
Chapter: 15
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
Correct Answer:
A
Chapter: 16
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
Correct Answer:
A
Chapter: 16
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
Correct Answer:
A