150 CCNA Switch Configuration MCQS with Explanation

I have prepared 150+ multiple choice and fill in the blanks Cisco CCNA Switch configuration questions to help you pass your CCNA exam.

1. Which command is used to set the hostname on a Cisco switch?

  • a) set hostname
  • b) config terminal
  • c) hostname
  • d) switchname

Answer: c) hostname

The hostname command is used in global configuration mode to set the hostname of the switch.

2. What is the default mode a switch operates in when it is first powered on?

  • a) Privileged EXEC mode
  • b) User EXEC mode
  • c) Global Configuration mode
  • d) Interface Configuration mode

Answer: b) User EXEC mode

When a switch is powered on, it first enters User EXEC mode, which has limited capabilities compared to Privileged EXEC mode.

3. The _____ domain defines the area in a network where data collisions can occur.

  • a) Broadcast
  • b) Collision
  • c) Ethernet
  • d) VLAN

Answer: b) Collision


A collision domain is a network segment where data packets can collide with one another, especially in a hub-based or older shared Ethernet network.

4. Which mode must a switch be in to configure a serial interface?

  • a) User EXEC mode
  • b) Privileged EXEC mode
  • c) Global Configuration mode
  • d) Interface Configuration mode

Answer: d) Interface Configuration mode

To configure a specific interface, such as a serial interface, the switch must be in Interface Configuration mode.

5. Which of the following commands allows you to configure an IP address on a switch interface?

  • a) ip config
  • b) ip address
  • c) interface ip
  • d) assign ip

Answer: b) ip address

The ip address command is used in Interface Configuration mode to assign an IP address to a switch interface.

6. How many collision domains exist in a network with four switches connected in a daisy chain?

  • a) 1
  • b) 2
  • c) 3
  • d) 4

Answer: d) 4

Each switch creates its own collision domain, so in a daisy chain of four switches, there are four collision domains.

7. What is the purpose of a VLAN on a switch?

  • a) Increase collision domains
  • b) Decrease collision domains
  • c) Increase broadcast domains
  • d) Decrease broadcast domains

Answer: d) Decrease broadcast domains


VLANs are used to decrease broadcast domains by segmenting a network into smaller, logical networks.

8. Which command is used to view the current configuration of a switch?

  • a) show run
  • b) show config
  • c) show switch
  • d) view config

Answer: a) show run

The show running-config (or show run) command displays the current configuration of the switch.

9. An IP address class with a default subnet mask of 255.0.0.0 is known as Class _____.

  • a) A
  • b) B
  • c) C
  • d) D

Answer: a) A

Class A IP addresses have a default subnet mask of 255.0.0.0.

10. What protocol does SSH use for secure remote access?

  • a) TCP
  • b) UDP
  • c) ICMP
  • d) HTTP

Answer : a) TCP

SSH (Secure Shell ) uses TCP ( Transmission Control Protocol ) for establishing a secure remote connection.
We will be happy to hear your thoughts

Leave a reply