InterviewStack.io LogoInterviewStack.io

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.

EasyTechnical
82 practiced

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.

HardTechnical
58 practiced

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?

MediumTechnical
46 practiced

QUIC runs over UDP but provides multiplexed, reliable streams without the head-of-line blocking that a single TCP connection carrying multiple HTTP/2 streams suffers from. Explain, at a conceptual level, how QUIC achieves reliability and ordering per-stream without TCP's single shared sequence space, and why building this on UDP rather than extending TCP was the practical choice.

MediumTechnical
97 practiced

Explain what duplicate ACKs mean and how they trigger TCP's fast retransmit, without waiting for the retransmission timer to fire. How would you tell, from the pattern of duplicate ACKs and retransmissions, whether the cause is genuine packet loss versus packet reordering along the path, and why does that distinction change which mitigation is appropriate?

HardTechnical
55 practiced

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.

Unlock Full Question Bank

Get access to all 36 Networking Fundamentals and Protocols interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.