Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Chapter: 90
Q1021:
What information does the ExStart state establish between routers?
A. Master and slave relationship
B. DR and BDR election
C. Hello packet exchange
D. LSA entry headers
Correct Answer:
A
Chapter: 90
Q1022:
Fill in the blank: To avoid creating excessive adjacencies and flooding on multiaccess networks, OSPF uses _______ to manage LSAs.
A. Designated Router (DR)
B. Backup Designated Router (BDR)
C. DROTHER routers
D. LSR packets
Correct Answer:
A
Chapter: 91
Q1023:
What is OSPFv2 designed as an alternative to?
A. RIP
B. BGP
C. EIGRP
D. OSPFv3
Correct Answer:
A
Chapter: 91
Q1024:
In OSPF, what does the router ID uniquely identify?
A. Network topology
B. Neighbor router
C. Specific router
D. Interface of the router
Correct Answer:
C
Chapter: 91
Q1025:
When does the election of the Designated Router (DR) occur in OSPF?
A. During router reboot
B. During network initialization
C. During data transmission
D. During OSPF link failure
Correct Answer:
B
Chapter: 91
Q1026:
What happens if there is no priority configured for a router during the DR election in OSPF?
A. The router with the highest priority is elected
B. The router with the lowest IP address is elected
C. The router with the highest router ID is elected
D. The router with the lowest priority is elected
Correct Answer:
C
Chapter: 91
Q1027:
What is the most recommended method to assign a router ID?
A. By explicitly configuring the router ID
B. By using the highest loopback IPv4 address
C. By using the highest physical interface address
D. By automatically selecting the router ID
Correct Answer:
A
Chapter: 91
Q1028:
What command is used to manually assign a router ID to an OSPF router?
A. router-id rid router configuration mode command
B. network network-address wildcard-mask command
C. ip ospf router-id command
D. clear ip ospf process command
Correct Answer:
A
Chapter: 91
Q1029:
Which of the following is the least recommended method to assign a router ID?
A. By explicitly configuring the router ID
B. By using the highest IPv4 address of a loopback interface
C. By using the highest IPv4 address of any physical interface
D. By using the lowest IPv4 address of any interface
Correct Answer:
C
Chapter: 91
Q1030:
What command is used to verify the OSPF router ID on a router?
A. show ip protocols
B. show ospf router-id
C. clear ip ospf process
D. show running-config
Correct Answer:
A
Chapter: 91
Q1031:
What is the command to clear the OSPF process and reset the router ID?
A. show ip protocols
B. clear ip ospf process
C. reload
D. reset ospf
Correct Answer:
B
Chapter: 91
Q1032:
Which command syntax is used to enable OSPF on an interface based on its IP address?
A. network network-address wildcard-mask area area-id
B. network intf-ip-address 0.0.0.0 area area-id
C. ospf interface address
D. ospf intf network-id
Correct Answer:
B
Chapter: 91
Q1033:
What subnet mask is recommended when using a loopback interface for the router ID?
A. 255.255.0.0
B. 255.255.255.0
C. 255.255.255.255
D. 255.0.0.0
Correct Answer:
C
Chapter: 91
Q1034:
Fill in the blank: The router with the second highest router ID is elected as the ___.
A. DR
B. BDR
C. LSA
D. Router ID
Correct Answer:
B
Chapter: 91
Q1035:
Fill in the blank: OSPFv2 is primarily used for ___.
A. IPv6
B. IPv4
C. Both IPv4 and IPv6
D. IS-IS
Correct Answer:
B
Chapter: 91
Q1036:
Which router configuration mode command is used to manually assign the OSPF router ID?
A. router-id rid
B. show ip protocols
C. network interface-id
D. clear ip ospf process
Correct Answer:
A
Chapter: 92
Q1037:
What is the first step in configuring basic single-area OSPFv2 in Packet Tracer?
A. Build network
B. Configure OSPF routing
C. Verify OSPF routing
D. Change Router ID assignments
Correct Answer:
A
Chapter: 92
Q1038:
In OSPF, what is the purpose of configuring passive interfaces?
A. To enable dynamic routing updates
B. To prevent sending OSPF updates on an interface
C. To change router metrics
D. To modify OSPF area configuration
Correct Answer:
B
Chapter: 92
Q1039:
Which of the following is NOT a typical step in configuring single-area OSPFv2?
A. Change router ID assignments
B. Build network
C. Configure DHCP
D. Configure OSPF routing
Correct Answer:
C
Chapter: 92
Q1040:
What command is used to configure a router in OSPF routing?
A. ip ospf process
B. router ospf process
C. ospf network command
D. passive-interface command
Correct Answer:
B