A rollback doesn't fix the problem. What now?
AdvancedScenarioDeployments and releases
Answer
Situation read → If the old version is also broken, the cause isn't only in the code you just shipped. Something changed underneath: data, config, schema, dependency or infrastructure.
What I'd do →
- Verify the rollback really happened: the running image digest matches the old release.
kubectl get pods -n prod -l app=api -o jsonpath='{.items[*].status.containerStatuses[*].imageID}'
- List everything that changed in the window, not only app deploys: Terraform applies, ConfigMap or secret edits, DB migrations, node AMI updates, cert renewals, upstream provider status pages, CloudTrail events.
aws cloudtrail lookup-events --start-time 2026-11-09T09:00:00Z --max-results 50
- Check one-way changes: a DB migration that ran forward, a cache filled with data in a new format, messages in a queue the old version can't parse.
- Check dependencies: DNS, a third-party API, an expired certificate.
- Escalate and declare an incident if it isn't converging; bring in the DB owner and the developer.
Why → Rollback only reverses the artifact. State changes are not reversed by redeploying old code.
Interview tip → Saying "rollbacks don't undo state" shows senior thinking.
More on Deployments and releases
A deploy went out and p99 latency doubled. Walk me through it.IntermediateYou deployed a new version and half the pods are in CrashLoopBackOff. What do you do?BeginnerA release passed every test in staging but broke in production. How do you investigate?IntermediateHow would you design a zero-downtime deployment for a stateless API on Kubernetes?BeginnerEvery deploy causes a short spike of 502 errors from the ALB. Why, and how do you fix it?IntermediateHow would you set up a canary release, and what decides whether it gets promoted?Intermediate