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.

EasyTechnical
58 practiced

From a troubleshooting perspective, how do TCP and UDP differ in the kinds of failures you can observe in packet traces?

HardTechnical
56 practiced

You need to process a set of packet captures (or a live traffic feed) to answer a concrete question, e.g. which flows are retransmitting the most, or what the handshake latency looks like per flow, without opening each one by hand. Describe how you'd script this (naming the library or tool you'd reach for), what fields you'd extract, and what you'd have to be careful of, like out-of-order packets or multiple capture points, for the numbers to be trustworthy.

HardTechnical
69 practiced

You're looking at a flow with out-of-order segments and repeated duplicate ACKs on a WAN link, and a colleague says "it's just packet loss." Explain how you would use the capture itself (sequence numbers, SACK blocks, timestamps) to tell true loss apart from simple reordering, a load-balancer or ECMP path change, and delayed ACKs from the receiver, and what additional evidence you'd gather before you're confident which one it is.

MediumTechnical
57 practiced

You capture a TCP connection and see SYN, SYN-ACK, but no final ACK from the client. What are the most likely root causes, and how would you prove which side is dropping or delaying the packet?

MediumTechnical
48 practiced

A set of firewall or security-group rules is intermittently blocking legitimate traffic, and you don't yet know which rule or which layer (stateful firewall, ACL, NAT) is responsible. Describe a systematic, minimally invasive way to narrow this down using captures and logs, and how your approach differs between an on-prem stateful firewall and a cloud model where security groups and network ACLs behave differently.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.