New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-400 Exam - Topic 4 Question 24 Discussion

Actual exam question for Microsoft's AZ-400 exam
Question #: 24
Topic #: 4
[All AZ-400 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

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.


https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deploy-using-approvals

Contribute your Thoughts:

0/2000 characters
Dottie
4 months ago
A pipeline variable won’t help with compliance checks.
upvoted 0 times
...
Shasta
4 months ago
Wait, I didn’t know deployment gates were a thing!
upvoted 0 times
...
Dortha
5 months ago
I thought modifying the queue settings would work too?
upvoted 0 times
...
Shala
5 months ago
Definitely B, it’s the best way to enforce policies!
upvoted 0 times
...
Ressie
5 months ago
You need to add a deployment gate for compliance.
upvoted 0 times
...
Willow
5 months ago
I recall a question similar to this where modifying the deployment queue settings was mentioned, but I don't think that's the right answer for compliance checks.
upvoted 0 times
...
Katina
5 months ago
I feel like configuring a deployment trigger might not be the right approach here. We need to enforce rules, not just trigger deployments.
upvoted 0 times
...
Beatriz
5 months ago
I'm not entirely sure, but I remember something about pipeline variables. Could they help with compliance?
upvoted 0 times
...
Stephen
5 months ago
I think we might need to add a deployment gate to ensure compliance with the Azure Policy rules. That sounds familiar from our practice sessions.
upvoted 0 times
...
Rebeca
5 months ago
Hmm, I'm a bit unsure about this one. There are a few different AWS services mentioned, and I want to make sure I understand how they each work before selecting an answer. I'll need to review the details carefully.
upvoted 0 times
...
Yuette
5 months ago
This is a good one to think about. I'll make sure to consider all the details in the question before selecting my answer.
upvoted 0 times
...
Clorinda
5 months ago
It's confusing because I believe all of these options have some merit. Did we cover if mapping the user to a Windows account was the primary function?
upvoted 0 times
...
Brianne
5 months ago
Based on the question, I think the "ExecutionLink From:" text is referring to the automation execution threads. That seems to be the most logical connection to the information given. I'll mark that as my answer.
upvoted 0 times
...

Save Cancel