Skip to main content

Routing and Switching MCQs with Answers

Practice important Routing and Switching MCQs with answers and explanations.

Chapter: 50
Q561:
What is the purpose of the Addressing Table in configuring a router?
A. To define IP addresses for PCs
B. To configure DNS addresses
C. To specify IP addresses and subnet masks for router interfaces
D. To set up DHCP settings
Correct Answer: C
Chapter: 50
Q562:
Fill in the blank: The command ______ can be used to test connectivity between a router and a LAN device.
A. ping
B. debug ip
C. trace
D. configure terminal
Correct Answer: A
Chapter: 50
Q563:
What is one benefit of using the "show commands" in router configuration?
A. Reboot the router
B. View the current status of interfaces
C. Save the router's configuration
D. Set IP addresses automatically
Correct Answer: B
Chapter: 50
Q564:
Which of the following commands is used to configure an IP address on an Ethernet interface?
A. ip address
B. enable
C. configure interface
D. set ip address
Correct Answer: A
Chapter: 50
Q565:
Fill in the blank: The ______ command is used to verify the IP address configuration on a router's interface.
A. show startup-config
B. show ip interface brief
C. show running-config
D. show version
Correct Answer: B
Chapter: 50
Q566:
Which command is used to save the current running configuration to NVRAM?
A. copy running-config startup-config
B. write ip
C. ip address save
D. show running-config
Correct Answer: A
Chapter: 50
Q567:
Fill in the blank: The ______ command is used to enter global configuration mode on a Cisco router.
A. enable
B. configure terminal
C. set interface
D. show ip route
Correct Answer: B
Chapter: 50
Q568:
What is the purpose of the "ping" command in network troubleshooting?
A. To configure IP addresses
B. To verify connectivity between devices
C. To display the router's routing table
D. To check the routing protocol
Correct Answer: B
Chapter: 51
Q569:
What protocol is used to send error messages related to the processing of IP packets?
A. TCP
B. UDP
C. ICMP
D. ARP
Correct Answer: C
Chapter: 51
Q570:
ICMPv4 is the messaging protocol for which version of IP?
A. IPv4
B. IPv6
C. Both IPv4 and IPv6
D. None of the above
Correct Answer: A
Chapter: 51
Q571:
Fill in the blank: ICMP Echo Request is used to check if a ______ is operational.
A. Router
B. Host
C. Switch
D. Gateway
Correct Answer: B
Chapter: 51
Q572:
What does the "Destination Unreachable" ICMP message indicate?
A. A packet was successfully delivered
B. A packet could not be delivered
C. A packet exceeded the TTL
D. A packet was redirected
Correct Answer: B
Chapter: 51
Q573:
Fill in the blank: The ______ ICMP message can notify the source that a better route is available.
A. Time Exceeded
B. Echo Reply
C. Redirect
D. Host Unreachable
Correct Answer: C
Chapter: 51
Q574:
What is the purpose of the "ping" command?
A. Test connectivity
B. Set up IP routing
C. Configure routing table
D. Monitor bandwidth
Correct Answer: A
Chapter: 51
Q575:
What information does "ping" provide in addition to testing connectivity?
A. Number of devices in the network
B. Round Trip Time (RTT)
C. Security settings
D. Type of network
Correct Answer: B
Chapter: 51
Q576:
Which command generates a list of hops between two hosts in a network path?
A. ping
B. traceroute
C. netstat
D. nslookup
Correct Answer: B
Chapter: 51
Q577:
Fill in the blank: Traceroute uses the ______ field in IPv4 to track the path of a packet.
A. Hop Limit
B. Time-to-Live (TTL)
C. Destination Address
D. Protocol Type
Correct Answer: B
Chapter: 51
Q578:
What does the asterisk (*) in a traceroute result indicate?
A. Successful packet transmission
B. Packet was redirected
C. Packet was lost or no reply
D. Packet was received twice
Correct Answer: C
Chapter: 51
Q579:
Fill in the blank: The ______ field in IPv6 is used to track the expiration of a packet in a traceroute.
A. TTL
B. Hop Limit
C. ICMP Code
D. Redirect Code
Correct Answer: B
Chapter: 51
Q580:
Which ICMP message indicates that the TTL of a packet has reached zero at a router?
A. Host Unreachable
B. Port Unreachable
C. Time Exceeded
D. Destination Unreachable
Correct Answer: C

Test Your Knowledge

Take a timed quiz on Routing and Switching

🚀 Start Quiz Now