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
48 practiced

A public-facing TCP service is hit by a SYN flood: an attacker sends a rapid stream of SYNs (often spoofed) so the server allocates state for many half-open connections and runs out of resources for legitimate ones. Explain how SYN cookies let the server avoid this without changing the three-way handshake the legitimate client sees, and what the server gives up (in terms of TCP options) while cookies are active.

HardTechnical
50 practiced

Explain the TCP state transitions for a graceful close (the FIN handshake) versus an abrupt close (RST). Discuss simultaneous close and RST-during-handshake edge cases, and how asymmetric routing or race conditions can produce half-open sockets that neither side recognizes as dead.

MediumTechnical
48 practiced

Explain TCP Selective Acknowledgment (SACK): how SACK blocks are represented in the TCP options, and how SACK lets a sender avoid retransmitting segments the receiver already has after a single loss event. What does a sender do differently once SACK is enabled versus a sender using only cumulative ACKs?

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.

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?

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.