Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Multiple Choice Questions
Q451: Which command is used to assign an IPv4 address to an interface in a router?
- A: configure ip
- B: ip address
- C: set ip address
- D: network config
View Answer
B
Q452: What is required for two devices to communicate on the same network using IPv4?
- A: Same subnet mask
- B: Different IP addresses
- C: Same MAC address
- D: Different VLANs
View Answer
A
Q453: How do you verify connectivity after configuring IPv4 addressing?
- A: Use the ping command
- B: Reboot the device
- C: Use the traceroute command
- D: Save the running configuration
View Answer
A
Q454: Which IPv4 configuration step is required to enable internet access?
- A: Configuring the subnet mask
- B: Assigning a default gateway
- C: Setting a router hostname
- D: Configuring the device password
View Answer
B
Q455: Fill in the blank: The command used to check the connectivity between two IPv4 devices is _______.
- A: ipconfig
- B: ping
- C: tracert
- D: connect
View Answer
B
Q456: Fill in the blank: To assign an IPv4 address, you must also assign a _______ to the interface.
- A: MAC address
- B: Subnet mask
- C: DNS server
- D: Hostname
View Answer
B
Q457: Which IPv4 address range is typically reserved for private networks?
- A: 192.168.x.x
- B: 172.16.x.x
- C: 10.x.x.x
- D: All of the above
View Answer
D
Q458: What must be configured on a router to enable communication between different networks?
- A: Static routing
- B: Subnet mask
- C: IP address
- D: Default gateway
View Answer
A
Q459: What is the default subnet mask for a Class C IPv4 address?
- A: 255.255.255.0
- B: 255.255.0.0
- C: 255.0.0.0
- D: 255.255.254.0
View Answer
A
Q460: After assigning an IPv4 address, what should be done to activate the interface?
- A: Save the configuration
- B: Reboot the device
- C: Use the no shutdown command
- D: Test connectivity
View Answer
C