Interview Prep/Real-World Interview/Outages and incident response

During an incident, you can roll back or push a forward fix the developer says is ready in 10 minutes. How do you decide?

IntermediateScenarioOutages and incident response
Answer

Situation read → Rolling back is usually faster and safer because it returns to a known-good state. A forward fix is new, untested code going out under pressure.

What I'd do →

  1. Default to rollback if the previous version is known to work and rollback is safe (no one-way migration, no incompatible data written).
  2. Fix forward only when rollback isn't possible or is riskier: for example, the new schema can't be read by the old code, or the bug is in data rather than code.
  3. If fixing forward, keep it minimal, run it through the pipeline (with the fast-track path, not skipping tests), and have a rollback plan for the fix.
  4. Set a time box: "if the fix isn't live and verified in 20 minutes, we roll back".

Why → "10 minutes" estimates during incidents are often wrong; a rollback has a known outcome.

Interview tip → Say "rollback is the default; fix forward needs a reason"; that framing is what senior engineers use.

All Real-World Interview questions Roadmap: Interview readiness

More on Outages and incident response