Microsoft DevOps Engineer Expert AZ-400 Practice Question

You are migrating an existing classic release pipeline that deploys a web app to Dev, Test, and Production stages in sequence. In the classic pipeline, a designated Approvers security group must manually approve before any deployment to Production. During migration to a multi-stage YAML pipeline you want to keep the approval policy configurable outside of the YAML file so that operations engineers can modify approvers without changing source control. Which approach should you use in the YAML pipeline to meet the requirement?

  • Insert a ManualValidation@0 task in the Production stage and specify the Approvers group in the YAML definition.

  • Use the dependsOn keyword to create an explicit dependency from Test to Production and set a hold condition with runOnce strategy.

  • Add a pre-deployment gate that references an Azure Monitor alert rule for the Production resource group.

  • Define an environment resource named Production and configure an approval check on that environment via the Azure DevOps portal.

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