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

Compare TCP congestion control algorithms Reno, NewReno, Cubic, and BBR at a conceptual level: how each reacts to packet loss or ECN, and their steady-state behavior on a high-bandwidth-delay-product cloud link versus the shared public internet. For a large file transfer across a satellite link (high RTT, low but non-zero loss), which would you prefer and why?

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.

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

Implement a simple reliable stop-and-wait protocol over UDP in Python: a send_reliable(sock, dest, payload, timeout) and a matching receive_reliable(sock). Use a single-bit sequence number, ACK packets, retransmit-on-timeout, in-order delivery, and duplicate handling. Explain what your implementation demonstrates about which parts of TCP's reliability UDP does not give you for free.

EasyTechnical
62 practiced

Explain the difference between a port, a socket, and a connection (the 4-tuple / 5-tuple). What distinguishes well-known, registered, and ephemeral port ranges, and why can many different clients share the same server port on one host without their traffic getting mixed up? Briefly note how NAT changes what a receiver actually observes on the wire.

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.