Handling a Critical Production Incident You Caused
BehavioralModel answerLast updated
Navigate a severe production latency incident triggered by your own deployment, balancing rapid mitigation, stakeholder communication, and systematic prevention.
The Situation
You're a Senior Software Engineer at a cloud platform company. This morning, a major enterprise customer reports severe performance degradation: their database requests show 40% higher latency, causing timeouts in their public-facing apps. Their CTO is pressing for urgent resolution and frequent updates. Your initial analysis suggests a configuration adjustment you pushed yesterday evening may be triggering resource contention, though you haven't fully confirmed this hypothesis.
Your Task
Walk through your approach to this crisis. Cover these dimensions:
- Stabilization: What actions do you take first to restore service quality while limiting additional damage?
- Stakeholder Management: How do you keep the customer's CTO informed while your team investigates and repairs the issue?
- Investigation & Safeguards: After service recovery, how do you determine what went wrong and build mechanisms to prevent recurrence?
- Taking Ownership: How do you handle the fact that your deployment appears responsible, both during the crisis and afterward?
Hints
Hint 1
Consider the relative cost and speed of reverting a suspected change versus investigating thoroughly before acting
Hint 2
Think about what information executives need versus what engineers need during an active incident
Hint 3
Focus on process improvements rather than individual blame when designing prevention measures
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Model Answer: Handling a Critical Production Incident
Principles
My approach follows three core principles: contain the damage immediately, communicate predictably rather than optimistically, and fix the system that allowed this to happen rather than just the immediate bug. I'll be transparent that my configuration push is the leading suspect from the start.
1. Stabilization (First 20 Minutes)
Activate incident protocols. I declare a high-severity incident through our standard process to get proper structure: an incident commander to coordinate, someone dedicated to customer communications, and myself as technical lead since I know the change. This separation of concerns lets me focus on the technical fix.
Quick triage. I spend 5-10 minutes checking: When did latency spike? Does the timing align with my config deployment? Which customers are affected—just this one or many? I look at resource saturation metrics: CPU utilization, disk I/O queues, database connection pools, lock contention. This isn't exhaustive diagnosis; it's checking whether my hypothesis has evidence.
Revert the configuration. I don't wait for 100% certainty. Rolling back a config change is low-risk, fast, and reversible. If my change caused this, rollback should show improvement within minutes. If it didn't, I've eliminated a variable quickly and cheaply. Before reverting, I capture diagnostic evidence: metric snapshots, thread dumps, query logs, and the exact config diff. This preserves forensic data without leaving the system degraded.
Prepare fallback options. While the rollback processes, I identify alternatives in case it doesn't work: rerouting the customer's traffic to a different cluster, horizontal scaling, throttling other tenants sharing these resources, or promoting a replica to primary.
Freeze other changes. I ensure no other deployments or modifications happen while we're in crisis mode, so we don't introduce new variables.
2. Stakeholder Communication
Initial response (within 15 minutes). Send a brief acknowledgment: "We've confirmed elevated latency impacting your service, have activated our highest-priority incident response, and are actively working mitigation. [Name] from our team will be your single point of contact and will update you every 30 minutes."
Fixed update cadence. Commit to a regular schedule (every 30 minutes for severe incidents) regardless of progress. Predictable communication reduces anxiety better than sporadic "good news" updates. If nothing has changed, we say so explicitly rather than going silent.
Structured updates. Each communication follows a template:
- Current impact and status
- Actions completed since last update
- Next steps in progress
- Timing of next update
Distinguish facts from theories. I say "we're rolling back a configuration change deployed last night that correlates with the latency increase" rather than "we found the problem." I commit to update timing, not resolution timing, until we have verified recovery.
Escalate appropriately. I ensure our engineering director or customer success manager engages with the CTO directly for executive-level assurance, while keeping engineers insulated to focus on technical work.
Confirm resolution. Once our metrics show recovery, I ask the customer to verify from their side before declaring the incident resolved. Then I commit to a written root cause analysis within 3 business days.
3. Post-Incident Analysis and Prevention
Blameless postmortem (within 48 hours). I facilitate a session with everyone involved to build a timeline: deployment time, impact start, detection, mitigation start, resolution. We focus on system gaps, not individual mistakes.
Deep root cause. I reproduce the issue in a staging environment with realistic load. For example, perhaps the config increased connection limits, which exposed a bottleneck in a shared resource under this customer's specific query pattern. I document the technical mechanism completely.
Five whys analysis. I push beyond "the config was wrong" to ask why our process allowed it:
- Why didn't we catch this before production? (No load testing for config changes)
- Why didn't we detect it before the customer? (Latency alerts weren't per-tenant)
- Why did it affect all their traffic at once? (No gradual rollout for config)
- Why did rollback take 15 minutes? (Manual process)
Concrete action items with owners. I document specific improvements:
- Treat configuration as code requiring review and automated validation (Owner: Me, Due: 2 weeks)
- Implement canary deployments for config changes with automated rollback on health check failures (Owner: Platform team, Due: 1 month)
- Add per-tenant latency SLOs with alerting (Owner: Observability team, Due: 3 weeks)
- Create runbook for config rollbacks (Owner: Me, Due: 1 week)
Follow through. I track these items to completion and present lessons learned to the broader engineering organization to prevent similar issues elsewhere.
4. Personal Accountability
During the incident: I immediately tell the incident commander and team, "I pushed a config change yesterday evening; it's my primary suspect for investigation." Transparency accelerates mitigation and builds trust. Concealing it would delay recovery and damage credibility.
In the postmortem: I acknowledge my change triggered the incident, then pivot to systemic improvements. The focus is: a single engineer shouldn't be able to cause a major outage with one config push. What guardrails should have caught this?
With the customer: The company takes organizational accountability in external communications ("a configuration change we deployed caused this"). We don't name individuals in customer-facing materials.
Taking corrective action: I volunteer to implement the prevention measures, especially the config validation and canary deployment systems. This demonstrates accountability through future improvement rather than repeated apologies.
Common Mistakes to Avoid
- Analysis paralysis: Spending an hour investigating when a quick rollback could have restored service in five minutes
- Overcommitment: Promising a fix within 30 minutes when you need two hours to diagnose properly
- Communication gaps: Going silent between updates or using technical jargon with executives
- Defensive posture: Hiding or minimizing your role in the faulty deployment
- Blame culture: Either self-flagellating excessively or pointing fingers at others during the review
- Vague prevention: Saying "we'll be more careful" instead of implementing specific technical controls
- Premature victory: Declaring resolution based on your metrics without customer confirmation
Why This Approach Works
This framework balances speed with thoughtfulness. By acting on strong hypotheses rather than demanding certainty, you restore service faster. By communicating on a fixed schedule, you manage anxiety even when progress is slow. By focusing prevention on systems rather than individuals, you build resilience that scales beyond this one incident. And by owning your mistake openly while driving toward solutions, you model the accountability expected at senior levels.