Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Chapter: 165
Q1901:
Which VLAN routing method is described as using a single physical interface for routing between multiple VLANs?
A. Router-on-a-stick
B. Legacy routing
C. Dynamic routing
D. Static routing
Correct Answer:
A
Chapter: 166
Q1902:
What is required for Legacy Inter-VLAN Routing?
A. Routers with multiple physical interfaces
B. Switches with routing capabilities
C. Dynamic routing protocols
D. VLAN trunking
Correct Answer:
A
Chapter: 166
Q1903:
Fill in the blank: The IP address of the router interface on a local subnet acts as the _______ for the sending device.
A. default gateway
B. routing table
C. ARP cache
D. subnet mask
Correct Answer:
A
Chapter: 166
Q1904:
In Legacy Inter-VLAN Routing, how does the source device determine if the destination device is local or remote?
A. By comparing IP addresses against the subnet mask
B. By checking the MAC address of the destination device
C. By querying the ARP table
D. By inspecting the VLAN ID
Correct Answer:
A
Chapter: 166
Q1905:
Fill in the blank: In Legacy Inter-VLAN Routing, the switch forwards unicast traffic out the port where the _______ device is connected.
A. destination
B. source
C. router
D. default gateway
Correct Answer:
A
Chapter: 166
Q1906:
What command is used on a switch to create VLANs?
A. vlan vlan_id
B. switchport access vlan vlan_id
C. ip address vlan_id
D. create vlan vlan_id
Correct Answer:
A
Chapter: 166
Q1907:
Fill in the blank: To back up the running configuration on a switch to the startup configuration, use the _______ command.
A. copy running-config startup-config
B. backup config
C. save running-config
D. write memory
Correct Answer:
A
Chapter: 166
Q1908:
How do router interfaces need to be configured to perform inter-VLAN routing?
A. Interfaces must be assigned to unique subnets and enabled with the no shutdown command
B. Interfaces must be configured with VLAN IDs and set to trunk mode
C. Interfaces need to be connected to multiple switches
D. Interfaces must be assigned IP addresses dynamically
Correct Answer:
A
Chapter: 166
Q1909:
What is the purpose of issuing the no shutdown command in interface configuration mode?
A. To enable a router interface
B. To configure VLAN IDs on the interface
C. To assign IP addresses to the interface
D. To create a new VLAN on the router
Correct Answer:
A
Chapter: 166
Q1910:
Fill in the blank: Legacy Inter-VLAN Routing requires that each router interface is assigned to a unique _______ for routing to occur.
A. subnet
B. VLAN
C. port
D. switch
Correct Answer:
A
Chapter: 166
Q1911:
What must be done to a router interface before it can be used for inter-VLAN routing?
A. It must be enabled using the no shutdown command
B. It must be configured with a VLAN ID
C. It must be assigned a dynamic IP address
D. It must be connected to multiple switches
Correct Answer:
A
Chapter: 166
Q1912:
Fill in the blank: The router uses the destination IP address to look up entries in its _______ table.
A. routing
B. ARP
C. MAC address
D. VLAN
Correct Answer:
A
Chapter: 167
Q1913:
What is the main advantage of router-on-a-stick over legacy inter-VLAN routing?
A. It uses fewer physical interfaces
B. It supports dynamic routing
C. It requires multiple switches
D. It simplifies VLAN creation
Correct Answer:
A
Chapter: 167
Q1914:
Fill in the blank: In router-on-a-stick, each subinterface on the router is configured with its own _______ and subnet mask.
A. IP address
B. MAC address
C. VLAN ID
D. trunk link
Correct Answer:
A
Chapter: 167
Q1915:
What does VLAN trunking enable in router-on-a-stick configurations?
A. Routing multiple VLANs through a single physical interface
B. Dynamic IP address assignment
C. Layer 2 switching only
D. Access control lists (ACLs)
Correct Answer:
A
Chapter: 167
Q1916:
Fill in the blank: To configure inter-VLAN routing using router-on-a-stick, the physical interface of the router must be connected to a _______ on the adjacent switch.
A. trunk link
B. access port
C. VLAN port
D. static link
Correct Answer:
A
Chapter: 167
Q1917:
What is the primary role of subinterfaces in router-on-a-stick configuration?
A. To allow a single physical interface to handle multiple VLANs
B. To provide physical separation between VLANs
C. To increase the number of physical interfaces
D. To enhance the speed of VLAN traffic
Correct Answer:
A
Chapter: 167
Q1918:
Fill in the blank: Each subinterface in a router-on-a-stick configuration must be assigned a _______ specific to its VLAN.
A. unique IP address
B. MAC address
C. physical interface
D. default gateway
Correct Answer:
A
Chapter: 167
Q1919:
What must be configured on the router to ensure it can handle multiple VLANs using router-on-a-stick?
A. Subinterfaces with unique IP addresses
B. Multiple physical interfaces
C. VLAN trunking on the switch
D. Static routing protocols
Correct Answer:
A
Chapter: 167
Q1920:
Fill in the blank: Router-on-a-stick is functionally similar to legacy inter-VLAN routing but uses _______ instead of physical interfaces.
A. subinterfaces
B. VLAN trunking
C. static routes
D. access ports
Correct Answer:
A