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.

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
64 practiced

A deployed model is making more calls to an upstream dependency than expected, and it's causing cascading failures in other microservices. With limited engineering resources, you must choose between an immediate rollback, throttling the model, or patching the serving code. Provide a prioritized decision framework, list the short-term mitigations under consideration, and estimate the likely outcome of each action under uncertainty.

MediumTechnical
75 practiced

You observe high tail latency (p99) for a microservice under load, even though the median latency remains acceptable. Outline a step-by-step troubleshooting plan, including instrumentation, reproducing the load pattern, targeted mitigations, and how you'd validate the fixes in production without risking further user impact.

HardTechnical
66 practiced

Both your message broker and your cache have failed unexpectedly for an hour, causing duplicate processing and stale reads. As the on-call architect, produce a prioritized runbook: the immediate mitigations to stop further damage, the steps to restore both services, how you'd reconcile state between the two systems, how you'd deduplicate any side effects that happened during the outage, and the validation checks that confirm correctness once you're done recovering.

MediumTechnical
69 practiced

A microservice intermittently returns 504s. Outline a practical investigation plan: what logs, traces, metrics, and load tests you would request or run, what areas of the code you'd review, and what quick mitigations you might propose while you're still investigating.

Unlock Full Question Bank

Get access to all 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.