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.
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.
You are given a capture showing fragmented IPv4 packets and an ICMP Type 3 Code 4 (Fragmentation Needed) message reporting a next-hop MTU of 1400 bytes. Explain the role of the Don't Fragment (DF) bit and how Path MTU Discovery is supposed to behave here, then describe why PMTUD commonly fails in production (hint: something in the path is dropping the ICMP message) and what fixes actually resolve it for both TCP and UDP traffic.
Out-of-order packet delivery (not loss) is causing excessive retransmissions and application-level timeouts on some flows. Explain PAWS (Protect Against Wrapped Sequence numbers) and the reordering thresholds TCP uses to avoid mistaking reordering for loss, and describe one application-level fallback for cases where the network path itself reorders packets persistently.
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?
A packet capture of a failed connection attempt shows: the client sends SYN, the server responds SYN-ACK, the client retransmits SYN several times but never sends the final ACK, and the server's SYN-ACK is retransmitted once before the connection times out. List the plausible root causes for the client never completing the handshake (consider both network-level and host-level causes), and explain what evidence on the client versus the server would distinguish them.
Unlock Full Question Bank
Get access to all 28 Networking Fundamentals and Protocols interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.