Microsoft DevOps Engineer Expert AZ-400 Practice Question

You are defining a multi-stage YAML pipeline in Azure DevOps. All deployments that target the Production environment must wait for approval from the Operations security group and must also satisfy an Azure Monitor alert gate that is evaluated during deployment. You want these requirements to apply no matter which pipeline deploys to Production. What is the correct way to implement the approvals and gates?

  • Set the approval: true attribute on the deployment job and reference an Azure Monitor service connection in the YAML.

  • Create an organization-wide policy that restricts deployments to Production and attach the Azure Monitor alert as a variable group permission.

  • Add an approvals: block under the environment property in the YAML file and list both the Operations group and the Azure Monitor gate.

  • Configure the manual approval and Azure Monitor gate directly on the Production environment in the Azure DevOps portal so every pipeline that references that environment inherits the checks.

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