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.

MediumTechnical
57 practiced

On a long-fat network (a 10 Gbps link with 150 ms round-trip time), compute the bandwidth-delay product and explain why the classic 16-bit TCP window field cannot describe enough in-flight data to fill this link. Describe how the window-scaling option is negotiated during the handshake to fix this, and what else (beyond the window itself) typically needs tuning to approach line-rate throughput on a link like this.

MediumTechnical
52 practiced

Explain how encapsulation works when an HTTP request travels from a browser to a web server across the internet. Describe, header by header, what gets added at the transport, network, and data-link layers, and what happens in reverse (decapsulation) at the server.

MediumTechnical
54 practiced

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?

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.

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.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.