How did you roll back a bad deployment?
BeginnerBehavioralCI/CD pipeline deep-dive
Answer
Good answer looks like → "Revert the commit in the GitOps repo; Argo CD syncs the previous image within a minute or two. In an emergency, argocd app rollback to the previous history ID, then fix Git so it doesn't drift. With Argo Rollouts, a failed canary analysis aborts automatically and traffic returns to the stable version."
Follow-ups to expect → How long does it take? What if the bad release ran a migration? Have you actually done it?
Red flags → "We'd redeploy the old version manually" with no tested procedure.
More on CI/CD pipeline deep-dive
Walk me through your CI/CD pipeline stage by stage.BeginnerWhy did you choose GitHub Actions (or Jenkins, or GitLab CI) for this pipeline?IntermediateHow did you share pipeline logic across many repositories?IntermediateHow did your pipeline authenticate to AWS (or your cloud)?IntermediateHow did you tag and version container images?BeginnerHow did you promote a build from staging to production?Intermediate