Skip to main content

Routing and Switching MCQs with Answers

Practice important Routing and Switching MCQs with answers and explanations.

Multiple Choice Questions

Q1751: What is the purpose of the erase startup-config command when deleting the vlan.dat file?
  • A: To restore the switch to its factory default condition
  • B: To save the current configuration
  • C: To clear the VLAN database
  • D: To create new VLANs
View Answer
A

Q1752: Fill in the blank: To restore a switch to its factory default condition concerning VLAN configurations, use the delete vlan.dat command along with _______.
  • A: erase startup-config
  • B: vlan vlan-id
  • C: show vlan
  • D: copy running-config startup-config
View Answer
A

Q1753: When assigning ports to VLANs, what is the exception to the rule that an access port can belong to only one VLAN at a time?
  • A: Ports connected to IP phones
  • B: Ports connected to routers
  • C: Ports connected to switches
  • D: Ports connected to servers
View Answer
A

Q1754: Fill in the blank: The VLAN database file called _______ is located in the flash memory of the switch.
  • A: vlan.dat
  • B: startup-config
  • C: running-config
  • D: flash-memory
View Answer
A

Q1755: What happens if you issue the delete flash: vlan.dat command and then reload the switch?
  • A: The switch is restored to its factory default condition for VLAN configurations.
  • B: The VLAN configurations are saved in the running configuration.
  • C: The VLAN configurations are added to the vlan.dat file.
  • D: The switch continues operating with existing VLAN configurations.
View Answer
A

Q1756: Fill in the blank: After creating a VLAN, the next step is to _______ ports to the VLAN.
  • A: assign
  • B: delete
  • C: view
  • D: modify
View Answer
A

Q1757: What is a VLAN trunk in the OSI model?
  • A: A Layer 1 link
  • B: A Layer 2 link
  • C: A Layer 3 link
  • D: A Layer 4 link
View Answer
B

Q1758: Fill in the blank: To configure a port as a trunk link, use the command switchport mode _______.
  • A: access
  • B: dynamic
  • C: trunk
  • D: routed
View Answer
C

Q1759: What command specifies the VLANs allowed on a trunk link?
  • A: switchport mode trunk
  • B: switchport trunk allowed vlan vlan-list
  • C: switchport access vlan vlan-id
  • D: switchport trunk encapsulation dot1q
View Answer
B

Q1760: Fill in the blank: The command switchport trunk allowed vlan vlan-list is used to _______.
  • A: set the trunking mode
  • B: specify VLANs allowed on a trunk
  • C: configure dynamic trunking
  • D: reset trunk to default
View Answer
B

Test Your Knowledge

Take a timed quiz on Routing and Switching

🚀 Start Quiz Now