You have an Azure DevOps project named Project1 and an Azure subscription named Sub1. You need to prevent releases from being deployed unless the releases compl...
Microsoft AZ-400 Exam
Questions Number: 169 out of 535 Questions
31.59%
Question 169
You have an Azure DevOps project named Project1 and an Azure subscription named Sub1. You need to prevent releases from being deployed unless the releases comply with the Azure Policy rules assigned to Sub1. What should you do in the release pipeline of Project1?
You can check policy compliance with gates. You can extend the approval process for the release by adding a gate. Gates allow you to configure automated calls to external services, where the results are used to approve or reject a deployment. You can use gates to ensure that the release meets a wide range or criteria, without requiring user intervention. Reference: https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deploy-using-approvals