Interview Prep/Real-World Interview/Outages, incidents & mistakes

Tell me about a time a change you approved in code review caused a problem.

IntermediateBehavioralOutages, incidents & mistakes
Answer

What they're really testing → Shared ownership, and whether you improve review quality.

Sample STAR answer →

  • Situation: I approved a Terraform PR that changed a security group's ingress block. The plan output looked fine, but it replaced the rule set and briefly dropped access from our bastion and the CI runners.
  • Task: Recover access and understand why review did not catch it.
  • Action: I re-applied the previous config, then realised the plan showed -/+ (replace) and I skimmed past it. I proposed posting the terraform plan summary as a PR comment with destroy/replace counts highlighted, and failing CI when a protected resource is destroyed unless a allow-destroy label is set.
  • Result: 20 minutes of blocked CI. The plan comment caught 3 accidental replacements in the next quarter.

Avoid → Saying "the author should have tested it", since you approved it too.

All Real-World Interview questions Roadmap: Interview readiness

More on Outages, incidents & mistakes