Computer Networks Interview Questions
TCP behaviour under load, DNS resolution and caching, HTTP semantics and versions, TLS, and the proxy and load balancer layer — weighted toward what breaks in production rather than the OSI model.
Showing 1–20 of 100
#1Explain the OSI model and how it maps to what actually runs.
#2What is the difference between a layer 4 and a layer 7 load balancer?
#3What is MTU and what happens when a packet exceeds it?
#4What is the difference between a switch, a router, and a hub?
#5What is the difference between latency, bandwidth, and throughput?
#6What is the bandwidth-delay product and why does it matter?
#7What happens when you type a URL into a browser?
#8What is NAT and what problems does it cause?
#9What is ARP and how does it work?
#10What is the difference between IPv4 and IPv6 beyond address length?
#11How does subnetting work and what is CIDR notation?
#12What is a routing table and how does a router choose a route?
#13What is BGP and why does it cause internet outages?
#14What is the difference between a private and a public IP address?
#15How does traceroute work?
#16What is ICMP and why do people block it?
#17What is anycast and where is it used?
#18What is the difference between unicast, multicast, and broadcast?
#19What is a VLAN and why use one?
#20What is the difference between a forward proxy and a reverse proxy?
Showing 1–20 of 100
Ask Aria about Computer Networks
Sign in to chat with Aria
All 100 Computer Networks questions at a glance
- Explain the OSI model and how it maps to what actually runs.(Easy)
- What is the difference between a layer 4 and a layer 7 load balancer?(Medium)
- What is MTU and what happens when a packet exceeds it?(Hard)
- What is the difference between a switch, a router, and a hub?(Easy)
- What is the difference between latency, bandwidth, and throughput?(Medium)
- What is the bandwidth-delay product and why does it matter?(Hard)
- What happens when you type a URL into a browser?(Medium)
- What is NAT and what problems does it cause?(Medium)
- What is ARP and how does it work?(Medium)
- What is the difference between IPv4 and IPv6 beyond address length?(Medium)
- How does subnetting work and what is CIDR notation?(Medium)
- What is a routing table and how does a router choose a route?(Medium)
- What is BGP and why does it cause internet outages?(Hard)
- What is the difference between a private and a public IP address?(Easy)
- How does traceroute work?(Medium)
- What is ICMP and why do people block it?(Medium)
- What is anycast and where is it used?(Hard)
- What is the difference between unicast, multicast, and broadcast?(Medium)
- What is a VLAN and why use one?(Medium)
- What is the difference between a forward proxy and a reverse proxy?(Medium)
- Walk through the TCP three-way handshake and explain why three messages are needed.(Easy)
- Why does closing a TCP connection take four messages?(Medium)
- What is TIME_WAIT and why does it exist?(Hard)
- How does TCP flow control differ from congestion control?(Hard)
- Explain TCP slow start and congestion avoidance.(Hard)
- What is head-of-line blocking and where does it occur?(Hard)
- What is Nagle's algorithm and when should you disable it?(Hard)
- What do the different TCP socket states mean operationally?(Hard)
- What is the difference between a connection refused and a connection timeout?(Medium)
- What is TCP keep-alive and how does it differ from HTTP keep-alive?(Medium)
- Why might a TCP connection appear to hang with no error?(Hard)
- What is the difference between the SYN backlog and the accept queue?(Hard)
- What causes ephemeral port exhaustion and how do you fix it?(Hard)
- How does TCP detect and recover from packet loss?(Hard)
- What is the difference between TCP and QUIC?(Hard)
- What socket options matter for a production server?(Hard)
- Why is TCP said to provide a reliable byte stream, and what does that mean for message framing?(Medium)
- What is TCP congestion control and how do BBR and CUBIC differ?(Hard)
- When would you choose UDP over TCP?(Medium)
- What guarantees does UDP actually provide?(Easy)
- Why does DNS use UDP, and when does it use TCP?(Medium)
- What is a UDP amplification attack?(Hard)
- How do you build reliability on top of UDP if you need it?(Hard)
- What is the maximum practical UDP payload size and why does it matter?(Medium)
- Walk through a full DNS resolution.(Medium)
- What are the main DNS record types and what is each for?(Medium)
- How does DNS TTL affect deployments and failover?(Medium)
- What is the difference between a recursive and an authoritative DNS server?(Medium)
- What is DNS round-robin and why is it a poor load balancer?(Medium)
- What is DNS caching at each layer, and how does it cause stale-address bugs?(Hard)
- What is DNS over HTTPS and what does it change?(Hard)
- What does dig show you and how do you read it?(Medium)
- What is split-horizon DNS?(Medium)
- Why might a service be reachable by IP but not by hostname?(Medium)
- What is the difference between HTTP/1.1, HTTP/2, and HTTP/3?(Medium)
- What makes an HTTP method safe, idempotent, or cacheable?(Medium)
- Explain the main HTTP status code families and the ones that matter most.(Easy)
- What is the difference between a 502, 503, and 504?(Medium)
- How does HTTP caching work?(Medium)
- What is CORS and what problem does it solve?(Medium)
- What is the difference between cookies, localStorage, and sessionStorage?(Medium)
- What is chunked transfer encoding and when is it used?(Hard)
- How do WebSockets differ from HTTP long polling and Server-Sent Events?(Medium)
- What does the Content-Type header do and why does charset matter?(Easy)
- What are the important HTTP security headers?(Medium)
- What is the difference between authentication and authorization in HTTP, and which status codes apply?(Medium)
- How does HTTP connection reuse work and why does it matter so much?(Medium)
- What is HTTP request smuggling?(Hard)
- What is the difference between Content-Length and Transfer-Encoding, and can you use both?(Hard)
- How should a client implement retries safely?(Medium)
- What is the difference between a 301 and a 302 redirect, and why does it matter?(Medium)
- What is the difference between an ETag and Last-Modified?(Medium)
- Walk through the TLS handshake.(Hard)
- How does certificate validation work and what is a chain of trust?(Medium)
- What is SNI and why does it matter?(Medium)
- What is mutual TLS and when would you use it?(Hard)
- What is forward secrecy?(Hard)
- What is the difference between encryption, hashing, and encoding?(Easy)
- How does HTTPS protect against a man-in-the-middle attack?(Medium)
- What is TLS termination and where should it happen?(Medium)
- Why might a TLS connection fail from a service but work in a browser?(Hard)
- What is certificate pinning and why is it discouraged now?(Hard)
- What load balancing algorithms are there and when does each fit?(Medium)
- What is consistent hashing and what problem does it solve?(Hard)
- How should health checks be designed?(Medium)
- What is a circuit breaker and how does it differ from a retry?(Medium)
- What is X-Forwarded-For and how should it be handled safely?(Hard)
- How do you achieve session affinity, and why is it often a bad idea?(Medium)
- What is a service mesh and what does it do for networking?(Hard)
- How would you design rate limiting?(Hard)
- A service is intermittently slow. How do you determine whether the network is responsible?(Hard)
- What do you use tcpdump for and how do you read a capture?(Hard)
- What is the difference between ping, telnet, curl, and nc for connectivity testing?(Medium)
- How do you debug a connection that works from one machine but not another?(Medium)
- What is bufferbloat?(Hard)
- Why do timeouts need to be configured at every layer, and how should you choose them?(Medium)
- What causes a thundering herd, and how do you prevent it?(Medium)
- How does a CDN work and what should you be careful about?(Medium)
- What is the difference between a stateful and a stateless firewall?(Medium)
- What networking knowledge actually matters for a backend engineer?(Easy)