exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 8 question 28 discussion

Actual exam question from Microsoft's AZ-400
Question #: 28
Topic #: 8
[All AZ-400 Questions]

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an approval process that contains a condition. The condition requires that releases be approved by a team leader before they are deployed.
You have a policy stating that approvals must occur within eight hours.
You discover that deployment fail if the approvals take longer than two hours.
You need to ensure that the deployments only fail if the approvals take longer than eight hours.
Solution: From Post-deployment conditions, you modify the Time between re-evaluation of gates option.
Does this meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
webforce08
Highly Voted 5 years, 1 month ago
Answer is correct but the explanation is incorrect. You must use the "Pre-deployment approval" which is part of the "Pre-deployment conditions". This has nothing to do with "gates".
upvoted 11 times
TosO
4 years, 10 months ago
It says Post-deployment conditions. That's why it is wrong
upvoted 4 times
MP270915
4 years, 10 months ago
You're right, but still, webforce08 is right that this has nothing to do with "gates". The solution is to increase the timeout in Pre-deployment approvals from 2 to 8hs (as is required by policy)
upvoted 11 times
...
...
...
Azurite
Highly Voted 3 years, 6 months ago
Got this in the exam. The answer is "From Pre-deployment conditions, you modify the Time between re-evaluation of gates option"
upvoted 11 times
...
vsvaid
Most Recent 1 year, 1 month ago
Selected Answer: B
I think Increasing the Timeout to 8 hours will fix this. At presents it is 2 hours, that is why it is deployment is getting rejected after 2 hours.
upvoted 1 times
...
gabo
1 year, 4 months ago
Gates and Approvals are totally different concepts.
upvoted 1 times
...
Madbo
1 year, 9 months ago
B. No. Modifying the Time between re-evaluation of gates option in Post-deployment conditions would not meet the goal of ensuring that the deployments only fail if the approvals take longer than eight hours. This option is used to specify the interval between checks for successful gate completion during a release deployment, and changing it would not address the issue of deployment failures due to approvals taking longer than eight hours.
upvoted 1 times
...
LGWJ12
2 years, 1 month ago
Selected Answer: B
This is pre-deployment Answer is No
upvoted 1 times
...
syu31svc
2 years, 5 months ago
Selected Answer: B
"condition requires that releases be approved by a team leader before they are deployed" This is pre-deployment Answer is No
upvoted 3 times
...
rdemontis
2 years, 10 months ago
Selected Answer: B
IMHO opinion here answer is NO. The requirement is that release has to be approved by a team leader before they are deployed. The solution cannot be a gate setting because we have a manual approval step here, not an automatic one.
upvoted 2 times
...
Dalias
3 years, 7 months ago
got this in 30 Jun 2021 exams. scored 800+ marks. the explanation given by the rest is correct.
upvoted 4 times
...
examkid
4 years, 5 months ago
The question is: The condition requires that releases be approved by a team leader before they are deployed So gates has nothing to do with it. The answer is correct
upvoted 2 times
...
trainingexam
4 years, 7 months ago
This answer is correct. According to me justification is as follows: Timeout condition of gate will fail / stop entire deployment process. This timeout option can be configured by expanding evaluation option available in pre-deployment condition -> gates -> evaluation option. Also if "pre-deployment approvals" is enable that means it can add list of users who can approve or reject the deployment. If this option is disable then anyone can approve this request. Microsoft docs states the same with example. https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deploy-using-approvals?view=azure-devops
upvoted 2 times
trainingexam
4 years, 7 months ago
My mistake, If no approval is granted within the Timeout specified for the approval, the deployment is rejected. This option is available in pre-deployment condition
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...