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.

HardTechnical
60 practiced

You suspect a transit provider is running a transparent TCP proxy that strips or rewrites TCP options (such as SACK permitted, window scale, or timestamps), degrading performance without dropping the connection outright. Describe how you would detect this from the endpoints, and how losing each of those specific options would show up in observed throughput or latency behavior.

EasyTechnical
62 practiced

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.

HardTechnical
53 practiced

Implement a simplified TCP connection tracker that reads packets from a pcap file and emits connection-state transitions (SYN, ESTABLISHED, FIN/RST, TIME_WAIT). Parse Ethernet/IP/TCP headers, track connections by the 4-tuple, and maintain a per-connection state machine. Describe the primary data structures you would use and how you would handle a high packet rate without losing track of state.

EasyTechnical
83 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
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 34 Networking Fundamentals and Protocols interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.