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.

MediumTechnical
116 practiced

You see conflicting observability signals: tail latency (p95) is up, but the overall error rate is down and throughput is steady. Walk through how you would investigate this, what quick experiments or probes you would run, and how you'd make an operational decision while minimizing customer impact.

MediumTechnical
98 practiced

A critical API shows intermittent authentication failures logged across multiple regions. Design a troubleshooting plan that includes hypothesis generation, quick experiments to isolate the responsible component (the identity provider, the network, or the client SDK), and a safe rollback path if a configuration change turns out to be the cause.

HardTechnical
73 practiced

Case study: you observe a cascading failure. Service A slowed down, which caused Service B to retry aggressively, which overloaded Service C and caused it to fail, which then triggered the control plane to restart pods. Describe how you would build the causal chain for the RCA, the immediate mitigations to stop the cascade, and the engineering changes (bulkheads, per-caller limits, circuit breakers, request queuing) you'd propose to prevent recurrence. Include how you would test that the fixes actually work.

MediumTechnical
74 practiced

Compare strong consistency (for example linearizability) and eventual consistency from an SRE troubleshooting perspective. Discuss how each model affects availability and performance, the common failure modes each produces, and the kind of monitoring and alerting you'd set up to detect problems specific to each model.

MediumTechnical
63 practiced

Write a Python script that reads a log file where each line can contain a trace_id like '[trace_id=abc123]' and a log level. The script should print a summary of error counts per trace_id (count lines containing 'ERROR', grouped by trace_id). Example log lines:
2025-01-01T12:00:01Z [trace_id=abc123] ERROR Payment failed user=1234
2025-01-01T12:00:02Z [trace_id=def456] INFO Processed
Provide working Python code.

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.