Top 100 Most Asked Computer Networks Interview Questions
A comprehensive collection of Computer Networking interview questions covering basics, OSI layers, protocols, and IP addressing. Perfect for technical screenings.
0%
Overall Progress
0/100
Status
Problem
Level
2.What is the difference between Hub, Switch, and Router?
Medium
3.What is the difference between TCP and UDP?
Medium
4.What is IP Address? Explain IPv4 and IPv6.
Easy
5.What is MAC Address? How is it different from IP Address?
Medium
6.What is the difference between Public and Private IP Address?
Medium
7.What is a Port Number? Give examples of common ports.
Easy
8.What is DNS and how does it work?
Medium
9.What is DHCP? How does it assign IP addresses?
Medium
10.What is the difference between HTTP and HTTPS?
Easy
11.What is Gateway?
Easy
12.What is Subnet Mask?
Medium
13.What is NAT (Network Address Translation)?
Hard
14.What is localhost and 127.0.0.1?
Easy
15.What is Bandwidth and Latency?
Easy
16.What is the OSI Model? Name all 7 layers.
Easy
17.What is the difference between OSI and TCP/IP Model?
Medium
18.What happens at each layer of OSI Model?
Medium
19.Which layer is responsible for routing?
Easy
20.Which layer is responsible for error detection?
Medium
21.What is the function of Transport Layer?
Medium
22.What is the function of Network Layer?
Medium
23.What is the function of Data Link Layer?
Medium
24.What is Encapsulation and Decapsulation?
Hard
25.What is PDU (Protocol Data Unit)?
Medium
26.Which protocols work at which OSI layer?
Hard
27.What is the difference between Layer 2 and Layer 3 Switch?
Hard
28.What is the Application Layer responsible for?
Easy
29.Why do we need a layered network model?
Medium
30.What is the Session Layer used for?
Medium
31.Explain TCP 3-Way Handshake in detail.
Medium
32.What is SYN, SYN-ACK, and ACK?
Medium
33.How is TCP connection terminated? (4-Way Handshake)
Hard
34.What is the difference between Connection-Oriented and Connectionless Protocol?
Medium
35.Why does DNS use UDP instead of TCP?
Hard
36.What is ARP (Address Resolution Protocol)?
Medium
37.What is ICMP? What does ping use?
Medium
38.What is the difference between FTP and SFTP?
Easy
39.What is SMTP, POP3, and IMAP?
Easy
40.What is SSH and which port does it use?
Easy
41.What is Telnet? Why is SSH preferred over Telnet?
Easy
42.What is HTTP methods (GET, POST, PUT, DELETE)?
Medium
43.What is HTTP Status Codes? (200, 404, 500, etc.)
Easy
44.What is SSL/TLS? How does HTTPS work?
Hard
45.What is a Socket?
Medium
46.What are IP Address Classes (A, B, C, D, E)?
Medium
47.What is Subnetting and why is it needed?
Medium
48.How do you calculate Subnet Mask?
Hard
49.What is CIDR notation?
Medium
50.What are the private IP address ranges?
Easy
51.What is the difference between Static and Dynamic IP?
Easy
52.What is APIPA (Automatic Private IP Addressing)?
Medium
53.What is Loopback Address?
Easy
54.What is Broadcast Address?
Medium
55.What is Network Address?
Medium
56.What is the difference between IPv4 and IPv6?
Medium
57.Why do we need IPv6?
Easy
58.What is the size of IPv4 and IPv6 addresses?
Easy
59.How many hosts can a /24 network have?
Medium
60.What is Supernetting?
Hard
61.What is Routing?
Easy
62.What is a Routing Table?
Medium
63.What is the difference between Static and Dynamic Routing?
Medium
64.What is Default Gateway?
Easy
65.What are Routing Protocols? Name a few.
Medium
66.What is RIP, OSPF, and BGP?
Hard
67.What is the difference between Distance Vector and Link State Routing?
Hard
68.What is Hop Count?
Easy
69.What is TTL (Time To Live)?
Medium
70.What is the difference between Router and Switch?
Easy
71.What is VLAN? Why is it used?
Medium
72.What is Spanning Tree Protocol (STP)?
Hard
73.What is the difference between Circuit Switching and Packet Switching?
Medium
74.What is a Virtual Circuit?
Hard
75.What is the difference between Layer 2 and Layer 3 devices?
Medium
76.What is Firewall? What are its types?
Easy
77.What is the difference between Stateful and Stateless Firewall?
Hard
78.What is VPN and how does it work?
Medium
79.What is Encryption? Explain Symmetric and Asymmetric Encryption.
Medium
80.What is the difference between Encryption and Hashing?
Hard
81.What is SSL Certificate?
Easy
82.What is DoS and DDoS attack?
Easy
83.What is the difference between DoS and DDoS?
Medium
84.How to prevent DDoS attacks?
Medium
85.What is Man-in-the-Middle (MITM) Attack?
Hard
86.What is DNS Spoofing?
Hard
87.What is Phishing?
Easy
88.What is the difference between Virus, Worm, and Trojan?
Medium
89.What is SQL Injection?
Hard
90.What is a Brute Force Attack?
Easy
91.How does a packet travel from source to destination? (End-to-End)
Hard
92.What happens when you type www.google.com in your browser?
Medium
93.What is Load Balancer? What are Load Balancing algorithms?
Hard
94.What is the difference between Load Balancer and Reverse Proxy?
Hard
95.What is CDN (Content Delivery Network)?
Medium
96.What is the difference between Horizontal and Vertical Scaling?
Medium
97.What is Caching? What are different types of caching?
Medium
98.Explain ping, traceroute, and netstat commands.
Easy
99.What is the difference between Unicast, Broadcast, and Multicast?
Medium
100.What is the difference between LAN, MAN, and WAN?