InterviewStack.io LogoInterviewStack.io

Networking Fundamentals and Troubleshooting Questions

Comprehensive coverage of core computer networking principles and the practical diagnostic and operational skills required to design, operate, and troubleshoot production systems. Fundamental concepts include the Open Systems Interconnection model layers, the Transmission Control Protocol and the Internet Protocol stack, the User Datagram Protocol, socket and port semantics, address notation and subnetting, Network Address Translation, Dynamic Host Configuration Protocol, and the Domain Name System resolution process. Infrastructure and architectural topics include switching and virtual local area networks, routing concepts and routing table behavior including Border Gateway Protocol basics, load balancing strategies and failure modes, firewall and access control, virtual private network technologies, and container and service network communication patterns. Diagnostic and tooling skills cover connectivity testing and path analysis, process and socket inspection, packet capture and analysis, and common command line tools and utilities used for network investigation. Performance and reliability topics include latency, bandwidth and throughput, packet loss, congestion and congestion control, connection pooling, timeout and retry strategies, and approaches to optimization. Observability, monitoring, and security practices include collecting and interpreting network metrics, logs, and traces, using packet capture tools for root cause analysis, and understanding how network issues surface in distributed applications. At senior levels expect discussion of network performance tuning, capacity planning, load balancer behavior at scale, and design decisions that affect system reliability and security.

HardTechnical
55 practiced
You're responsible for capacity planning for a fleet of edge load balancers. Describe how to estimate required network throughput, maximum concurrent connections, conntrack table size, and backend connection rates based on historical peak RPS, average request size, TLS overhead, keepalive behavior, and desired headroom. Which metrics and stress tests will you run to validate your model?
MediumTechnical
26 practiced
Explain TCP congestion control basics including slow start, congestion avoidance, fast retransmit, and fast recovery. How does packet loss impact throughput and what metrics should SREs collect to detect congestion early in production?
EasyTechnical
29 practiced
During an incident where a service fails to accept connections, outline a sequence of commands and the expected indicators you would look for using 'ss -tanp', 'netstat -plant', and 'lsof -i' to determine whether the process is listening, whether ports are bound to the expected interfaces, and whether the firewall is blocking traffic. Provide example output snippets you would inspect.
HardTechnical
35 practiced
Describe important Linux kernel TCP tuning knobs (for example net.ipv4.tcp_rmem, tcp_wmem, tcp_congestion_control, tcp_moderate_rcvbuf) and how they impact throughput and latency for high-bandwidth, high-latency links. Show how you would calculate and set buffer sizes given a 10 Gbps link with 100 ms RTT (give the BDP calculation and recommended change).
MediumTechnical
34 practiced
Write the tcpdump command to capture only TCP retransmits on interface eth0 between hosts 10.1.2.3 and 10.2.3.4, print timestamps and packet lengths, and save to rotated files of 100MB each. Explain the choices for snaplen, rotation flags, and the limitations of detecting retransmits purely via BPF filters.

Unlock Full Question Bank

Get access to hundreds of Networking Fundamentals and Troubleshooting interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.