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

During an incident you need to ship a hotfix, but GitHub (your CI) is down. What do you do?

AdvancedScenarioOutages and incident response
Answer

Situation read → If your only deploy path depends on one SaaS, its outage becomes your outage. You need a documented break-glass path, planned in advance.

What I'd do →

  1. First check whether you can mitigate without a deploy: roll back to a previous image (already in ECR), toggle a flag, scale, or fail over. Most incidents don't need new code.
  2. If you must deploy new code, use the break-glass procedure:
    • Build locally or on a designated build host from a known commit, push to ECR with a breakglass- tag.
    • Deploy with a break-glass role (time-limited, alerted on use) using kubectl or helm, or update the GitOps repo mirror if Argo CD can reach it.
  3. Record everything in the incident channel.
  4. After CI is back: rebuild through the normal pipeline, replace the break-glass image, and review the access.

Why → A rehearsed break-glass path is controlled and audited; an improvised one at 3 AM is neither.

Interview tip → Lead with "can we mitigate without deploying?"; it usually avoids the problem entirely.

All Real-World Interview questions Roadmap: Interview readiness

More on Outages and incident response