InterviewStack.io LogoInterviewStack.io

Production Incident Diagnosis and Distributed Systems Troubleshooting Questions

Debugging distributed systems under fire: diagnosing latency and reliability regressions, root-causing across service boundaries, reading traces and metrics during an incident, and reasoning about complex production failures. Covers the investigative method for hard-to-reproduce, multi-service problems. The operational counterpart to resilient design.

EasyTechnical
57 practiced

Write a runbook fragment for an on-call engineer to follow when a region-wide network partition causes partial failures. Include immediate mitigation steps, prioritized checks, escalation paths, and recovery-validation steps that confirm there is no data loss or inconsistent state across services once the partition heals.

HardTechnical
52 practiced

Monitoring shows that adding more instances of a microservice increased average and p95 latency instead of reducing it. Walk through a debugging checklist explaining possible causes (for example shared-resource contention, DNS or iptables issues, connection-pool exhaustion, or leader-election thrashing), how you'd gather evidence for each, and the remedial action for each cause.

HardTechnical
55 practiced

Your etcd cluster is experiencing leader-election flapping and clients are timing out. Describe the steps to diagnose the cause (network partitions, clock skew, resource exhaustion), what logs and metrics you'd inspect, and how you'd harden leader stability (tuning election timeouts, isolating resources, applying QoS). Include which checks are safe to run without disrupting the cluster and when you'd escalate to rolling restarts.

HardTechnical
54 practiced

Split-brain has occurred: two replicas both accepted writes and the data has diverged. Propose immediate containment actions to stop further divergence, a reconciliation plan for the conflicting writes (weighing automated versus manual resolution), and the long-term architecture changes that would prevent split-brain in the future (quorum writes, fencing tokens, stronger leader election). Describe the validation steps you'd run after reconciliation to confirm correctness.

HardTechnical
54 practiced

Users report high p99 latency on a critical API. Propose a comprehensive instrumentation and analysis plan to determine whether the cause is GC pauses, lock contention, network wait, or downstream calls. Specify which metrics, profilers, and span attributes you would collect, and the order in which you would investigate them.

Unlock Full Question Bank

Get access to all 34 Production Incident Diagnosis and Distributed Systems Troubleshooting interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.