InterviewStack.io LogoInterviewStack.io

Systematic Troubleshooting and Debugging Questions

Covers structured methods for diagnosing and resolving software defects and technical problems at the code and system level. Candidates should demonstrate methodical debugging practices such as reading and reasoning about code, tracing execution paths, reproducing issues, collecting and interpreting logs metrics and error messages, forming and testing hypotheses, and iterating toward root cause. Topic includes use of diagnostic tools and commands, isolation strategies, instrumentation and logging best practices, regression testing and validation, trade offs between quick fixes and long term robust solutions, rollback and safe testing approaches, and clear documentation of investigative steps and outcomes.

EasyTechnical
56 practiced
Explain what the following tcpdump filter captures and how you would use it to reproduce a web application issue: sudo tcpdump -i eth0 tcp port 443 and host 10.0.1.5 -w capture.pcap. Describe how to open and analyze the resulting capture and what indicators you would look for (handshake timing, retransmits, RSTs).
HardTechnical
35 practiced
Services behind a NAT device are showing intermittent resets under high load; you suspect NAT/PAT ephemeral port exhaustion or port reuse collisions. Describe how to confirm ephemeral port exhaustion (metrics to collect), how to reproduce in a lab, mitigation techniques (port range expansion, multiple NATs, dedicated SNAT pool), and long-term fixes.
HardTechnical
36 practiced
Core switch ports report increasing CRC and FCS errors affecting application traffic with occasional corrupt packets. Describe a methodical plan to diagnose whether this is caused by physical media (cable/SFP), optics, switch ASIC bugs, or upstream devices. Include exact commands, diagnostic tests (TDR, port swap, loopback, error counters), safe testing procedures, and criteria for hardware replacement.
MediumTechnical
32 practiced
Backends behind a load balancer intermittently fail health checks even though application logs report successful responses for the same requests. Outline a debugging approach, considering health probe source IP, ephemeral port exhaustion on backends, TLS handshake timing, sticky sessions, and how to validate with pcap and synthetic probes.
EasyTechnical
39 practiced
List the SNMP OIDs or generic metrics (interfaces, input/output errors, utilization, queue drops, discards, temperature) you would monitor to detect early signs of link degradation and congestion on routers and switches. Explain why each metric is helpful and suggest threshold levels for alerts.

Unlock Full Question Bank

Get access to hundreds of Systematic Troubleshooting and Debugging interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.