Interview Prep/Real-World Interview/Deployments and releases

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 →

  1. 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}'
  1. 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
  1. 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.
  2. Check dependencies: DNS, a third-party API, an expired certificate.
  3. 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.

All Real-World Interview questions Roadmap: Interview readiness

More on Deployments and releases