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

Explain the seven layers of the OSI model. For each layer, state its primary responsibility, the name of its protocol data unit (PDU), and one or two protocols or technologies that commonly operate there. Then explain why identifying which layer a failure sits at is useful before you jump to a fix.

EasyTechnical
64 practiced

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?

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.

MediumTechnical
66 practiced

Walk through how TCP congestion control evolves during a long-lived connection: slow start, congestion avoidance, fast retransmit, and fast recovery. State which sender-side variable changes at each stage and what event triggers the transition to the next stage.

HardTechnical
53 practiced

During an incident, many TCP connections are timing out and clients are retrying slowly, adding backpressure. Explain how TCP computes its retransmission timeout (RTO) from measured RTT and RTT variance, and how the RTO behavior you'd want differs between an environment dominated by many short-lived connections versus one with a few long-lived connections.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.