AZ-400 Practice Question: Design and implement build and release pipelines
Your organization uses Azure Pipelines to deploy a web application to multiple Azure App Service instances across regions. You need to implement a deployment strategy that allows rolling back to the previous version quickly if issues are detected. Which TWO strategies should you recommend?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use blue-green deployment with a traffic manager endpoint.
The correct answers are D and E. Blue-green deployment with a traffic manager endpoint allows you to quickly route traffic back to the previous version if issues are detected. Deploying to a staging slot and then swapping with production (slot swap) enables instant rollback by swapping back to the previous slot. Option A (rolling update) does not provide instant rollback because it requires redeployment. Option B (canary deployment) is designed for gradual traffic shifting, not immediate rollback. Option C (storing artifacts) is a good practice but does not itself constitute a deployment strategy for rollback.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use a rolling update with incremental deployment.
Why it's wrong here
Rolling updates do not provide instant rollback.
- ✗
Implement a canary deployment with traffic splitting.
Why it's wrong here
Canary is for gradual rollout, not quick rollback.
- ✗
Store previous deployment artifacts in Azure Blob Storage.
Why it's wrong here
Storing artifacts does not enable quick rollback.
- ✓
Use blue-green deployment with a traffic manager endpoint.
Why this is correct
Blue-green allows switching traffic back to the previous environment.
- ✓
Deploy to a staging slot and then swap with production.
Why this is correct
Swapping back reverts to the previous version.
Go deeper
Related to this question
Learn chapter
Introduction to DevOps and Azure DevOps
Key term
Blue-green deployment
Blue-green deployment is a release strategy that reduces downtime and risk by running two identical production environments, one live and one idle, enabling instant traffic switching between them.
Key term
Azure Pipelines
Azure Pipelines is a cloud-based CI/CD service from Microsoft that automatically builds, tests, and deploys code to any platform or cloud.
About these practice questions
This AZ-400 question is part of Courseiva's 823-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-400 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-400 exam.