🔥 40% Off Crucial Exams Memberships — This Week Only

3 days, 10 hours remaining!

Microsoft DevOps Engineer Expert AZ-400 Practice Question

Your organization mandates that every production deployment undergo an automated Azure Policy compliance scan before any resources are updated. You have a multi-stage YAML pipeline that deploys to an environment named prod. You must block the deployment until the scan succeeds, without editing any pipeline stages or jobs. What should you do?

  • Add an Azure Policy compliance check to the prod environment's approvals and checks in Azure DevOps.

  • Configure a branch protection rule that requires an external status check for Azure Policy on the main branch.

  • Add a ManualValidation task to the deployment stage and assign the security team as approvers.

  • Insert an AzurePowerShell task in the deployment job to query policy state before continuing.

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