Interview Prep/Real-World Interview/Deployments and releases

A feature flag change took down production even though no code was deployed. How do you handle it and prevent it?

IntermediateScenarioDeployments and releases
Answer

Situation read → A flag flip is a production change. If it bypasses review, monitoring and rollout steps, it's an unreviewed deploy.

What I'd do →

  1. Revert the flag immediately; that's the fastest rollback you'll ever have.
  2. Check the flag service audit log for who changed what and when.
  3. Find why the code path was broken: never tested with the flag on, or tested only on a small cohort.
  4. Prevent: require approval for prod flag changes, roll flags out by percentage (1% → 10% → 50%), and send flag changes to the same channel and Grafana annotations as deploys.
  5. Clean up stale flags; old flags are untested code paths waiting to bite.

Why → Most "nothing changed" incidents are config or flag changes that weren't tracked as changes.

Interview tip → Say "every change is a deploy, including config and flags".

All Real-World Interview questions Roadmap: Interview readiness

More on Deployments and releases