Blog

MCQs

Disclaimer:

Educational Use Only:

The website links provided are to be used strictly for educational and knowledge-gaining purposes only.

No Misuse:

Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.

Respect for Websites and Businesses:

Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.

Acknowledge Value of Knowledge:

Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.

No Endorsement:

The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.

User Responsibility:

By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.


  1. Which OSI layer does a network switch primarily operate at?
    a. Physical layer
    b. Data Link layer
    c. Network layer
    d. Application layer
    Answer: b. Data Link layergeeksforgeeks+2
  2. What main address does a switch use to forward frames within a network?
    a. IP Address
    b. MAC Address
    c. Port Number
    d. Socket Address
    Answer: b. MAC Addresswatelectronics+2
  3. What device connects devices in a local area network and isolates traffic based on addresses?
    a. Hub
    b. Switch
    c. Router
    d. Bridge
    Answer: b. Switchnetworkerinterview+2
  4. Which of the following is an advantage of a switch over a hub?
    a. More power consumption
    b. Traffic Filtering
    c. Broadcasts all frames
    d. No address learning
    Answer: b. Traffic Filteringsanfoundry+2
  5. Which device creates a separate collision domain for each connected port?
    a. Router
    b. Switch
    c. Hub
    d. Bridge
    Answer: b. Switchnetworkerinterview+1
  6. What is the primary function of a switch’s MAC address table?
    a. Store IP addresses
    b. Store network protocols
    c. Map MAC addresses to ports
    d. Encrypt data
    Answer: c. Map MAC addresses to portsgeeksforgeeks+2
  7. What action does a switch take if a destination address is not found in its MAC address table?
    a. Drops the frame
    b. Floods to all ports except incoming one
    c. Sends to the router
    d. Encrypts the frame
    Answer: b. Floods to all ports except incoming onewatelectronics+1
  8. What is a “collision domain” in networking?
    a. All devices sharing bandwidth
    b. Devices receiving broadcasts
    c. Devices sharing the same collision risk
    d. Devices using different protocols
    Answer: c. Devices sharing the same collision risksanfoundry+1
  9. Which of these can segment a LAN into multiple collision domains but not multiple broadcast domains?
    a. Router
    b. Switch
    c. Hub
    d. Repeater
    Answer: b. Switchnetworkerinterview+1
  10. What network device connects different network segments and filters traffic based on MAC addresses?
    a. Repeater
    b. Switch
    c. Router
    d. Hub
    Answer: b. Switchgeeksforgeeks+2
  11. What type of data transmission does a standard switch support?
    a. Half-duplex only
    b. Full-duplex only
    c. Both half and full-duplex
    d. Simplex only
    Answer: c. Both half and full-duplexwatelectronics+1
  12. A switch will update its MAC address table when it receives a frame. What field does it use from the frame?
    a. Source MAC address
    b. Destination MAC address
    c. Source IP address
    d. Destination IP address
    Answer: a. Source MAC addressgeeksforgeeks+1
  13. What is the default broadcast domain for all ports in a standalone switch?
    a. Separate domains per port
    b. One broadcast domain
    c. No broadcast domain
    d. Variable by protocol
    Answer: b. One broadcast domainnetworkerinterview
  14. Which of these devices helps avoid network loops by using protocols like STP?
    a. Hub
    b. Switch
    c. Repeater
    d. Bridge
    Answer: b. Switchsanfoundry+1
  15. Select the device that forwards data based on hardware (MAC) addresses.
    a. Router
    b. Switch
    c. Firewall
    d. Modem
    Answer: b. Switchgeeksforgeeks+1
  16. What is an unmanaged switch?
    a. Requires configuration
    b. No user configuration
    c. Supports VLANs
    d. SNMP manageable
    Answer: b. No user configurationsanfoundry
  17. What switch type provides advanced features like SNMP, VLANs, and CLI management?
    a. Hub
    b. Managed switch
    c. Unmanaged switch
    d. Bridge
    Answer: b. Managed switchsanfoundry
  18. When does a switch flood a frame to all ports (except the source port)?
    a. When destination is not in MAC table
    b. When source is not in table
    c. When table is full
    d. Never
    Answer: a. When destination is not in MAC tablewatelectronics+1
  19. What happens in the MAC forwarding process when multiple devices send frames to a switch simultaneously?
    a. Collision
    b. Queue and process
    c. Drop frames
    d. Pause system
    Answer: b. Queue and processnetworkerinterview+1
  20. On which layer of the OSI model do hubs operate?
    a. Physical
    b. Data link
    c. Network
    d. Application
    Answer: a. Physicalwatelectronics+1
  21. Which command is commonly used to assign a VLAN to a switch port in Cisco IOS?
    a. switchport access vlan
    b. interface trunk enable
    c. vlan-port set
    d. assign vlan port
    Answer: a. switchport access vlansanfoundry
  22. What is learned by a switch when it receives a frame from a device?
    a. Source port and IP
    b. Source MAC and port
    c. Destination MAC only
    d. Protocol type only
    Answer: b. Source MAC and portgeeksforgeeks+1
  23. What is true about cut-through switching mode?
    a. Waits for entire packet before forwarding
    b. Forwards after reading destination address
    c. Always buffers full packet
    d. Never stores frames
    Answer: b. Forwards after reading destination addressgeeksforgeeks
  24. Which type of switch is best suited for a small home office network?
    a. Core switch
    b. Unmanaged switch
    c. Enterprise switch
    d. Data center switch
    Answer: b. Unmanaged switchsanfoundry
  25. Which protocol is often used by switches to prevent loops?
    a. OSPF
    b. STP
    c. RIP
    d. EIGRP
    Answer: b. STPnetworkerinterview+1
  26. What is the default collision domain size on a 24-port switch?
    a. 1
    b. 12
    c. 24
    d. 0
    Answer: c. 24networkerinterview
  27. Which frame forwarding method checks the whole frame for errors before forwarding?
    a. Cut-through
    b. Fragment-free
    c. Store-and-forward
    d. Flooding
    Answer: c. Store-and-forwardwatelectronics+1
  28. What device is used to connect multiple networks and work at Layer 3?
    a. Hub
    b. Switch
    c. Router
    d. Access point
    Answer: c. Routerwatelectronics+1
  29. What information does a switch NOT typically use to make forwarding decisions?
    a. MAC address
    b. Port number
    c. Frame type
    d. Routing table
    Answer: d. Routing tablegeeksforgeeks+1
  30. What does a Layer 2 switch segment in a network?
    a. Broadcast domain
    b. Collision domain
    c. Routing table
    d. Subnets
    Answer: b. Collision domainsanfoundry+1
  31. Which port security action disables a port if unauthorized traffic is detected?
    a. Restrict
    b. Protect
    c. Shutdown
    d. Filter
    Answer: c. Shutdownsanfoundry
  32. What happens if two devices connected to a hub send data at the same time?
    a. Data is prioritized
    b. Collision occurs
    c. Switch buffers it
    d. Both are lost
    Answer: b. Collision occurswatelectronics+1
  33. Which switch feature allows multiple VLANs on a single port to connect to another switch?
    a. Access mode
    b. Trunking
    c. Filtering
    d. Port mirroring
    Answer: b. Trunkingsanfoundry
  34. In a basic Ethernet network, what type of cable is commonly used to connect switches?
    a. Coaxial
    b. Fiber optic
    c. Twisted pair
    d. Parallel
    Answer: c. Twisted pairgeeksforgeeks+1
  35. What is a broadcast frame forwarded by a switch?
    a. Only to destination
    b. Only to router
    c. To all ports except incoming
    d. To none
    Answer: c. To all ports except incomingnetworkerinterview+1
  36. What is the main difference between a managed and unmanaged switch?
    a. Price
    b. Configurability
    c. Power usage
    d. Connector type
    Answer: b. Configurabilitysanfoundry
  37. What network technology is often used at the core layer of large enterprise networks?
    a. Managed switches
    b. Unmanaged switches
    c. Hubs
    d. Modems
    Answer: a. Managed switchessanfoundry
  38. What is the main task of a switch’s switching fabric?
    a. Encrypt data
    b. Move frames between ports
    c. Broadcast only
    d. Connect Internet
    Answer: b. Move frames between portssanfoundry
  39. What device is not generally concerned with filtering traffic based on MAC address?
    a. Hub
    b. Switch
    c. Bridge
    d. Managed switch
    Answer: a. Hubnetworkerinterview+1
  40. Which command is often used to enable an interface in Cisco switches?
    a. enable interface
    b. interface up
    c. no shutdown
    d. port on
    Answer: c. no shutdownsanfoundry
  41. What device is best for reducing network collisions in an office environment?
    a. Hub
    b. Switch
    c. Gateway
    d. Firewall
    Answer: b. Switchwatelectronics+1
  42. Which switch feature allows monitoring of traffic passing through the switch?
    a. SNMP
    b. Port mirroring
    c. Trunking
    d. MAC filtering
    Answer: b. Port mirroringsanfoundry
  43. VLANs configured on a switch help to create multiple what?
    a. Physical networks
    b. Broadcast domains
    c. Collision domains
    d. Routers
    Answer: b. Broadcast domainssanfoundry+1
  44. What happens in store-and-forward switching mode?
    a. Forwards frame immediately
    b. Reads only destination address
    c. Stores full frame, checks for errors
    d. Ignores errors
    Answer: c. Stores full frame, checks for errorsgeeksforgeeks+1
  45. A switch learns the MAC addresses of devices connected to it by examining the __________ of Ethernet frames.
    a. Destination MAC
    b. Source MAC
    c. IP header
    d. Protocol type
    Answer: b. Source MACnetworkerinterview+1
  46. What port type allows connection to multiple VLANs?
    a. Access port
    b. Hybrid port
    c. Trunk port
    d. Management port
    Answer: c. Trunk portsanfoundry
  47. What ability is typical of an enterprise-class managed switch?
    a. VLAN support
    b. CLI configuration
    c. SNMP monitoring
    d. All of the above
    Answer: d. All of the abovesanfoundry
  48. What is the effect of connecting two switches together?
    a. Reduces network size
    b. Increases broadcast domain
    c. Expands network size
    d. Disables VLANs
    Answer: c. Expands network sizegeeksforgeeks+1
  49. What protocol do modern Ethernet switches commonly use to automatically negotiate duplex and speed settings?
    a. STP
    b. ARP
    c. Auto-MDIX
    d. Auto-Negotiation
    Answer: d. Auto-Negotiationsanfoundry
  50. Which of the following most accurately describes a switch’s default behavior when learning addresses?
    a. Floods all traffic
    b. Learns source addresses, updates table
    c. Ignores unknown addresses
    d. Discards all traffic
    Answer: b. Learns source addresses, updates tablewatelectronics+2

 

  1. https://www.geeksforgeeks.org/computer-networks/what-is-switching/
  2. https://www.watelectronics.com/mcq/network-devices/
  3. http://networkerinterview.net/entries/switching-basic/switching-basic
  4. https://www.sanfoundry.com/computer-networks-questions-answers-switches-hubs/
  5. https://www.sanfoundry.com/computer-networks-questions-answers-cisco-lan-switches/
  6. https://www.sanfoundry.com/computer-networks-mcqs-packet-circuit-switching/
  7. https://examradar.com/switching-network-mcq-data-communication-networking/
  8. https://www.sanfoundry.com/computer-network-questions-answers/
  9. https://www.scribd.com/document/494022286/mcq-networking
  10. https://www.watelectronics.com/mcq/packet-switching/
  11. https://www.uninets.com/blog/computer-networks-mcq
  12. https://www.youtube.com/watch?v=ZGgbmIDw0MI
  13. https://www.interviewbit.com/computer-network-mcq/
  14. https://testbook.com/objective-questions/mcq-on-networking–5eea6a1639140f30f369f551
  15. https://www.scribd.com/document/475048088/CH-8-Switching-Network-Multiple-Choice-Questions-and-Answers-MCQ-PDF-Data-Communication-and-Networking-pdf
  16. https://www.pynetlabs.com/networking-interview-questions-and-answers/
  17. https://reck.ac.in/wp-content/uploads/2023/04/DCN_MCQ-Ashwini-.pdf
  18. https://www.interviewbit.com/networking-interview-questions/
  19. https://www.craw.in/top-50-basic-networking-interview-questions-and-answers
  20. https://www.nwkings.com/ccna-routing-and-switching-interview-questions

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!