InterviewStack.io LogoInterviewStack.io

Network Troubleshooting and Tools Questions

Hands on skills for diagnosing and resolving network problems using standard command line and packet analysis tools. Topics include systematic troubleshooting workflows (start with reachability tests and escalate to captures), use of ping and traceroute to verify connectivity and routing paths, netstat and ss to inspect sockets and listening ports, arp and interface commands to check layer two mappings and interface state, router and switch show commands to view routing tables and interface status, and DNS troubleshooting using nslookup and dig. Deep packet capture and analysis with tcpdump and Wireshark is covered, including capture filters, interpreting packet headers and flows, identifying retransmissions, latency sources, and protocol errors. Emphasis is on interpreting tool output, correlating results across layers, and choosing the right tool at each step of an investigation.

HardSystem Design
68 practiced
Design an automated health-check script or pipeline (languages/tools optional) that runs synthetic network tests (ping, traceroute, dig, iperf3) from multiple locations to a set of application endpoints, aggregates the results, detects anomalies (loss >1%, RTT jump >100ms, DNS resolution failures), and alerts. Describe the data model, storage, alerting thresholds, and how you would avoid alert storms during transient spikes.
MediumTechnical
94 practiced
A Linux server's 'ip neigh' shows multiple entries for the gateway IP in different VLANs and some entries are 'FAILED/INCOMPLETE'. Describe the steps and tcpdump commands you would use to determine whether ARP requests are being sent and replied to, whether there is a proxy-ARP or duplicate IP issue, and how to remediate stale ARP entries.
HardTechnical
127 practiced
You need to locate where excessive latency is introduced for a TCP flow. Describe how you'd use tcpdump with timestamps, Wireshark's TCP stream analysis (time delta columns), and application logs to attribute delay to the network (queueing/bufferbloat), OS scheduling, or application-level processing. Provide concrete steps and filters for capturing the minimal data necessary to prove the source of delay.
HardTechnical
98 practiced
Write a Python script (using pyshark or scapy) that reads a pcap file and outputs the top 10 source-destination IP pairs by packet count and total bytes. Include memory considerations for large pcaps and suggest how you would adapt the approach for streaming or very large files (e.g., tshark invocation, chunked reads). Provide a concise, working code sketch and explain key parts.
HardTechnical
68 practiced
A load-balanced HTTPS service is failing TLS handshakes with clients intermittently. Packet captures show repeated TCP connections that reset before any TLS records; no TLS Alerts are seen. Describe a thorough approach to determine whether the failure is due to TCP-level issues (RSTs, retransmissions), a middlebox performing TLS inspection, misconfigured backend, or an application-level SSL library crash. Include capture placement and logs to check.

Unlock Full Question Bank

Get access to hundreds of Network Troubleshooting and Tools interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.