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 TCP three-way handshake in detail: which flags are set in each packet (SYN, SYN-ACK, ACK), how sequence and acknowledgment numbers are used, and what state each endpoint moves into after each step. Explain what problem the handshake actually solves.
Define bandwidth, throughput, and goodput, and explain at least four distinct reasons an application might observe lower throughput or goodput than the link's rated bandwidth. For a given slow transfer, what is the fastest way to tell which of your reasons is the actual cause?
Sketch the TCP header at a high level and describe the fields most relevant to reliability and ordering: sequence number, acknowledgment number, the SYN/ACK/FIN/RST flags, window size, and the key TCP options (MSS, window scale, SACK-permitted, timestamps). If you were triaging a performance incident and could only look at a handful of these fields, which would you check first and why?
Describe the UDP header fields (source port, destination port, length, checksum) and explain how the UDP checksum behaves differently across IPv4 and IPv6. If you suspected corrupted UDP payloads reaching an application in production, what would that suggest about where in the stack the corruption is happening?
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 26 Networking Fundamentals and Protocols interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.