Network Troubleshooting and Diagnostics Questions

Systematically diagnosing network problems: a layered troubleshooting methodology, diagnostic tools and commands (ping, traceroute, tcpdump, packet capture), root-cause analysis, and connectivity and user-access issues. Covers isolating faults across the stack, reading packet-level evidence, and driving from symptom to root cause. The diagnostic discipline that spans all networking layers.

HardTechnical
70 practiced

A high-throughput web server is showing thousands of sockets in TIME_WAIT state and is approaching ephemeral port exhaustion. Using netstat/ss and tcpdump, describe how you would analyze the cause, then propose both a kernel-level and an application-level change you might make, explaining the safety considerations of each.

EasyTechnical
52 practiced

Users report DNS resolution succeeds (dig/nslookup returns valid answers) but a web application can't connect to the service by hostname. Describe the layer-by-layer checks you would perform to determine whether the issue is DNS, TCP/connectivity, firewall/ACL, or application binding. Include commands such as 'dig', 'nslookup', 'ss'/'netstat', 'curl' with IP and hostname, and advice on how to isolate name resolution from transport and application errors.

EasyTechnical
56 practiced

A service seems to be listening but a client can't connect. Using ss (or netstat) on the host, walk through how you'd confirm what's actually listening, on which address and port, and how you'd distinguish a loopback-only bind from one that's reachable externally, a process-ownership problem, and other local blockers (host firewall, SELinux, network namespace) from an actual network-path problem.

MediumTechnical
61 practiced

A DNS record was updated as part of a failover, but many clients still resolve the old IP. Explain the end-to-end places where DNS caching can occur (OS resolver, local DNS forwarder, CDN, browser), how you would identify which cache is serving stale results, and commands to force-cache checks and clears. Include how dig or nslookup could help isolate the layer serving stale data.

MediumTechnical
63 practiced

Your packet capture contains many IPv6 Neighbor Discovery issues. Explain how ND differs from ARP, which ICMPv6 messages are important for ND troubleshooting, and how you would use 'ip -6 neigh', tcpdump, and router advertisements to diagnose IPv6 neighbor reachability and autoconfiguration problems.

Unlock Full Question Bank

Get access to all 26 Network Troubleshooting and Diagnostics interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.