Microsoft DevOps Engineer Expert AZ-400 Practice Question

You manage a mission-critical .NET API running on Azure App Service. An Azure Pipelines YAML release deploys a new container image nightly to the production slot. Leadership requires that deployments cause zero client downtime and that, if post-deployment health probes fail, the previous version can be restored instantly without performing another build. Which modification to the pipeline will meet these resiliency requirements?

  • Add a Helm upgrade step with the --atomic flag to combine upgrade and automatic rollback.

  • Deploy the image to a staging deployment slot, warm it up, and use the AzureWebApp task to swap the slot with production.

  • Insert tasks that stop the App Service before deployment and start it again after the container image update.

  • Enable Run-From-Package and deploy the ZIP package directly to the production slot.

Microsoft DevOps Engineer Expert AZ-400
Design and implement build and release pipelines
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot