Networking Fundamentals and Protocols Questions
The core model of how networks move data: the OSI and TCP/IP layers, the Internet Protocol suite, transport protocols (TCP versus UDP), encapsulation, and TCP behavior including congestion control. Covers the protocol foundations every networking and infrastructure discussion builds on, from link layer through transport. The conceptual bedrock beneath addressing, routing, and switching.
Describe the four layers of the TCP/IP (Internet) model, map each to its corresponding OSI layer(s), and give one example protocol per TCP/IP layer. Explain in one or two sentences why two competing layering models exist and are both still used in practice.
An object-storage service needs to optimize TCP transfers for multi-gigabyte uploads and downloads between clients and storage nodes. What transport- and OS/NIC-level levers would you investigate to raise throughput, and how would you decide between using several parallel connections versus one well-tuned connection for a large transfer?
TCP Fast Open (TFO) lets a client send data in the SYN packet, skipping a full round trip on repeat connections to the same server. Explain how a middlebox built to expect a standard three-way handshake can misinterpret or drop TFO traffic, and what fallback behavior a client implementation needs so a TFO attempt never makes a connection LESS reliable than a plain handshake would have been.
You are given a capture showing fragmented IPv4 packets and an ICMP Type 3 Code 4 (Fragmentation Needed) message reporting a next-hop MTU of 1400 bytes. Explain the role of the Don't Fragment (DF) bit and how Path MTU Discovery is supposed to behave here, then describe why PMTUD commonly fails in production (hint: something in the path is dropping the ICMP message) and what fixes actually resolve it for both TCP and UDP traffic.
After a TCP connection closes, the socket that initiated the close sits in TIME_WAIT for a period before the port is reusable. Explain why TIME_WAIT exists, what a half-open connection is, and how you would detect an unusually large number of sockets stuck in TIME_WAIT on a busy server. What are the trade-offs of the common mitigations for socket exhaustion caused by this?
Unlock Full Question Bank
Get access to all 36 Networking Fundamentals and Protocols interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.