How do you perform rollback in case of a failed deployment?
Short answer: How do you perform rollback in case of a failed deployment?
Explain a bit more
Answer: There are several ways: Use deployment slots — just swap back to the previous slot. Re-deploy a previous successful release in Azure DevOps. Use versioned artifacts — keep your last working package and redeploy it. Example: If your new API build breaks production, you can quickly redeploy the previous successful release version from Azure DevOps → Releases → “Redeploy”.
Real-world example (ShopNest)
Azure DevOps holds ShopNest repos, boards, and release pipelines in one place so build + deploy stay repeatable.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png