Computer Networks MCQs With Answers

Chinmay
November 14th, 2026
95
30:00 Minutes

Preparing for computer networking interviews or strengthening your networking skills? This Computer Networks MCQs collection covers networking fundamentals, OSI and TCP/IP models, Ethernet, IP addressing, routing, TCP and UDP, common protocols, wireless networking, security, network services, troubleshooting, cloud networking, and virtualization. Use these multiple-choice questions to assess your knowledge and identify topics to revise.

Note: Score 60% or higher to unlock an exclusive offer of up to 50% off on all self-paced Networking and IT Infrastructure courses.

Let's begin!

Computer Networking Fundamentals

1. What does a computer network primarily enable?






2. Which network type typically covers a small area such as an office or building?






3. Which network type spans large geographic distances?






4. What is a network protocol?






5. Which topology connects all devices to a central switch or hub?






6. Which topology provides multiple paths between network nodes?






7. What is the main purpose of network bandwidth?






8. What does network latency measure?






9. Which device commonly connects multiple networks and forwards packets using IP addresses?






10. Which device forwards frames within a LAN using MAC address information?






11. What is a node in a computer network?






12. Which term describes the amount of useful data successfully delivered over a network per unit of time?






OSI and TCP/IP Models

13. How many layers are in the OSI reference model?






14. Which OSI layer is responsible for routing packets between networks?






15. Which OSI layer provides end-to-end transport services?






16. At which OSI layer do Ethernet MAC addresses operate?






17. Which OSI layer deals with cables, signaling, and raw bit transmission?






18. Which OSI layer is associated with data encryption, compression, and representation?






19. Which OSI layer manages dialogs and sessions between applications?






20. In the TCP/IP model, IP primarily belongs to which layer?






21. Which TCP/IP layer combines responsibilities broadly associated with OSI layers 5 through 7?






22. What is encapsulation in network communication?






23. What is the protocol data unit commonly called at the OSI Network layer?






24. What is the protocol data unit commonly associated with the Data Link layer?






25. What is the main function of the Physical layer?






26. What does a MAC address identify in an Ethernet network?






27. How long is a standard Ethernet MAC address?






28. Which Ethernet component regenerates and forwards signals to extend a network segment?






29. What is the purpose of a CRC field in an Ethernet frame?






30. Which protocol resolves an IPv4 address to a MAC address on a local network?






31. What does a switch learn from the source MAC address of an incoming frame?






32. What happens when a Layer 2 switch receives a frame with an unknown unicast destination?






33. What is a VLAN used for?






34. Which IEEE standard is associated with VLAN tagging?






35. What is the purpose of Spanning Tree Protocol (STP)?






36. What does full-duplex Ethernet allow?






IP Addressing and Subnetting

37. How many bits are in an IPv4 address?






38. How many bits are in an IPv6 address?






39. Which IPv4 address is in a private address range?






40. Which address is the IPv4 loopback address commonly used by a host?






41. What does a subnet mask identify?






42. What is the dotted-decimal subnet mask for a /24 IPv4 prefix?






43. How many usable host addresses are available in a conventional IPv4 /26 subnet?






44. What is the network address of 192.168.1.70/24?






45. Which IPv4 address range is commonly used for link-local autoconfiguration?






46. What does CIDR notation /16 indicate?






47. Which IPv6 address type is intended for communication within a local link and is not routed?






48. What is the IPv4 limited broadcast address?






Routing and Network Layer

49. What is the primary role of a router?






50. Which routing approach uses manually configured routes?






51. Which protocol is commonly used by routers to exchange routes within an autonomous system?






52. Which routing protocol uses hop count as its primary metric?






53. Which routing protocol is a link-state interior gateway protocol?






54. What does a router use to select the most specific matching route?






55. What is the purpose of a default route?






56. Which ICMP message is commonly used by ping to test reachability?






57. What is the function of TTL in an IPv4 packet?






58. What happens to an IPv4 packet when its TTL reaches zero at a router?






59. Which protocol is used to exchange routing information between autonomous systems on the internet?






60. What does NAT commonly allow?






TCP, UDP, and Transport Services

61. Which transport protocol provides a connection-oriented, reliable byte stream?






62. Which transport protocol is connectionless and does not guarantee delivery?






63. Which TCP mechanism establishes a connection?






64. What is the usual order of messages in the TCP three-way handshake?






65. What does TCP sequence numbering help provide?






66. What is the purpose of TCP flow control?






67. Which TCP feature helps manage network congestion?






68. Which protocol is generally preferred for latency-sensitive real-time media when application-level handling is used?






69. What is a port number used for at the transport layer?






70. Which port is the default for HTTPS?






71. Which port is commonly associated with SSH?






72. What does a TCP FIN flag generally indicate?






Common Network and Application Protocols

73. Which protocol translates domain names into IP addresses?






74. Which protocol automatically provides IP configuration to clients?






75. Which protocol is primarily used to transfer web pages?






76. Which protocol adds encryption to HTTP communication?






77. Which protocol is commonly used to send email between mail servers?






78. Which protocol allows clients to synchronize email while keeping messages on the server?






79. Which protocol is used for secure remote command-line access?






80. Which protocol is commonly used for transferring files and supports separate control and data connections?






81. Which protocol provides network time synchronization?






82. Which protocol is commonly used to monitor and manage network devices?






83. Which protocol maps an IP address to a domain name in a reverse DNS lookup?






84. Which DNS record type identifies the mail server for a domain?






Wireless and Network Security

85. Which IEEE family defines Wi-Fi standards?






86. Which Wi-Fi security protocol is generally stronger than WPA2 when configured with modern settings?






87. What is the purpose of a firewall?






88. What does an IDS primarily do?






89. How does an IPS differ from a passive IDS in its typical role?






90. What is the main purpose of a VPN?






91. Which attack attempts to overwhelm a service with traffic from many sources?






92. What is a common risk of an evil twin Wi-Fi access point?






93. What does network segmentation help achieve?






94. Which technology can provide port-based network access control?






95. What is packet sniffing?






96. Which practice helps protect administrative access to network devices?






DNS, DHCP, NAT, and Network Services

97. What is the role of a recursive DNS resolver?






98. Which DNS record maps a hostname to an IPv4 address?






99. Which DNS record maps a hostname to an IPv6 address?






100. What is the purpose of a CNAME record?






101. Which DHCP message does a client typically send first when seeking a lease?






102. What is the usual DHCP lease process sequence?






103. What is PAT in the context of NAT?






104. What is the main purpose of a proxy server?






105. What does a load balancer do?






106. Which service commonly provides centralized directory and authentication information in enterprise networks?






107. What is the purpose of a DMZ in network architecture?






108. What is split-horizon DNS commonly used for?






Network Troubleshooting and Tools

109. Which command is commonly used to test IP reachability with ICMP echo messages?






110. Which command-line utility traces the path packets take toward a destination?






111. Which tool is commonly used to query DNS records interactively?






112. Which command on many Linux systems displays or configures network interfaces and addresses?






113. What information does the netstat command commonly display?






114. What is Wireshark primarily used for?






115. Which tool is commonly used to capture packets from a command line on Unix-like systems?






116. What should be checked first when a host cannot reach its local default gateway?






117. What does an increasing packet loss rate often indicate?






118. What is jitter in networking?






119. Which physical-layer issue can cause intermittent connectivity on a wired link?






120. What is the purpose of a baseline in network monitoring?






Modern Networks, Cloud, and Virtualization

121. What is Software-Defined Networking (SDN) designed to separate?






122. In SDN, what is the typical role of a controller?






123. What is a key purpose of a virtual LAN (VLAN) in a switched network?






124. What does a virtual network interface allow?






125. What is a common benefit of network function virtualization (NFV)?






126. What is the purpose of a content delivery network (CDN)?






127. Which technology commonly provides an encrypted site-to-site tunnel between cloud and on-premises networks?






128. What is a key characteristic of IPv6 autoconfiguration using SLAAC?






129. What does dual-stack networking mean?






130. What is an overlay network?






131. Which technology is commonly used to encapsulate Layer 2 Ethernet frames over an IP network for data-center overlays?






132. What is the primary goal of network automation?






Explore Our Trending Articles:-

1. Top Cybersecurity Interview Questions and Answers
2. Cyber Security Tutorial
3. How to Become an Ethical Hacker
4. Top 10 Cybersecurity Tools For 2026
5. A Guide To Start A Career in Cyber Security
6. Top 10 Career Opportunities in Cyber Security (Updated 2026)
About the Author
Chinmay | igmGuru
About the Author

Chinmay is a cybersecurity professional with over a decade of experience in vulnerability assessments and incident response across multiple sectors. Chinmay's expertise includes penetration testing, threat analysis, security operations, and attack pattern research in controlled lab environments. The articles written by him are well researched and hold his experience and expertise in the industry.

Drop Us a Query
Fields marked * are mandatory
×

Your Shopping Cart


Your shopping cart is empty.