exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 8 question 29 discussion

Actual exam question from Microsoft's AZ-400
Question #: 29
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 Pre-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
TosO
Highly Voted 4 years, 1 month ago
B is correct - Not such option as gates timeout in pre-deployment approvals. Pre-deployment approvals are for manual approvals and gates are for automatic approvals
upvoted 35 times
ChauPhan
2 years, 5 months ago
Both post and pre-deployment gateway has timeout setting. However, the condition needs to be check BEFORE the deployment, so the correct answer must be pre-deployment gateway, not post-gateway. So B is the answer.
upvoted 3 times
...
HaoHu
3 years, 4 months ago
I think that TosO is correct. All we known is that the release require team leader to approve and current duration is not fit eight hours. So I think we just need to modify it and we don't need to care about gates options.
upvoted 1 times
...
bnair
3 years, 11 months ago
there is option for gate timeout
upvoted 1 times
...
MP270915
4 years, 1 month ago
you can simultaneously use pre-deployment approvals and gates
upvoted 1 times
...
...
webforce08
Highly Voted 4 years, 4 months ago
Correct answer: A
upvoted 22 times
ttm_19
3 years, 11 months ago
No, it it is not. Which exactly Gateway you need to add/use in order Team leader to approve it? Pre-condition approval -> Timout settings must be used.
upvoted 8 times
plalwa
3 years, 4 months ago
A is correct, this will also work, just a gate with "The delay before evaluation" of 8 hours would hold the deployment for 8 hours but there is a catch, it will wait for 8 hours irrespective of approval time which would be a draw back, but as per the questions requirement it would avoid failures.
upvoted 1 times
...
...
...
ieboaix
Most Recent 8 months, 2 weeks ago
Answer A meets the goal, with pre-deployment gate option delay set to 8 hours, ensure the deployment will not fail less than 8 hours
upvoted 1 times
...
Madbo
1 year ago
B. No Modifying the Time between re-evaluation of gates option will not address the issue of deployments failing if approvals take longer than two hours. This option controls how frequently the gate conditions are re-evaluated during the release deployment process. To ensure that deployments only fail if approvals take longer than eight hours, the Timeout setting for pre-deployment approvals should be modified.
upvoted 4 times
...
Rams_84zO6n
1 year, 1 month ago
Selected Answer: B
https://learn.microsoft.com/en-us/azure/devops/pipelines/release/approvals/gates?view=azure-devops#define-a-gate-for-a-stage Gates and approvals - For pre-deployment conditions, the default is to prompt for manual (user) approvals first, then evaluate gates afterwards. Changing gate condition will have no effect when you also configured manual (user) approvals
upvoted 1 times
...
syu31svc
1 year, 9 months ago
Gates allow automated calls to external services. Since this is a manual approval, we should not work with the gate settings. Answer is No
upvoted 1 times
...
Chiboy
1 year, 11 months ago
The answer is A. The Gates section of the Pre-deployment condition has an option for Time between re-evaluation of gates and this is the right feature that needs to be amended to 8 hours. https://docs.microsoft.com/en-us/azure/devops/pipelines/release/approvals/gates?view=azure-devops
upvoted 2 times
...
Eltooth
1 year, 11 months ago
Selected Answer: B
B is correct answer. Pre-deployment approvals is where timeout settings are changed.
upvoted 2 times
...
rdemontis
2 years, 1 month ago
Selected Answer: B
B is the correct answer but not only for the reason explained in the description. You cannot use gates here because we are speaking about manual approval by a team leader. You have to go to Pre-deployment conditions and change on Pre-deployment approvals section the timeout from 2 to 8 hours.
upvoted 3 times
...
SteveChai
3 years 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". The question is: The condition requires that releases be approved by a team leader before they are deployed So, gates have nothing to do with it. The answer is correct. The solution is to increase the timeout in Pre-deployment approvals from 2 to 8hs (as is required by policy) 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 3 times
SteveChai
3 years ago
same question repeated. refer to Question #10 - topic. the answer should be B. No
upvoted 1 times
...
...
namco23
3 years, 2 months ago
The answer is NO, mainly for one reason, among the requirements it has a manual action and only specifies to do it automatically, modifying the re-evaluation time, which would not meet the requirements or the answer remains incomplete
upvoted 1 times
...
vglearn
3 years, 2 months ago
Answer is No
upvoted 1 times
...
TateBytes
3 years, 3 months ago
No. This is an incomplete answer as "The time between re-evaluation of gates" is merely a sampling interval. "The sampling interval and TIMEOUT work TOGETHER so that the gates will call their functions at suitable intervals, and reject the deployment if they don't all succeed during the same sampling interval and within the TIMEOUT period." We should instead also set the TIMEOUT value to 8 hours for the field "The timeout after which gates fail" under "Evaluation options". Both fields are available under https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deploy-using-approvals?view=azure-devops
upvoted 1 times
...
Dady9
3 years, 5 months ago
The time between re-evaluation of gates: The duration after which the gates are re-evaluated. This must be greater than the longest typical response time of the configured gates to allow all responses to be received in each evaluation. It has nothing to do with timeouts, answer B
upvoted 1 times
...
27close
3 years, 6 months ago
Timeout after which gates fail. The maximum evaluation period for all gates. The deployment will be rejected if the timeout is reached before all gates succeed during the same sampling interval. The predeployment gate and timeout are covered in MS doc, i think the answer is yes
upvoted 1 times
...
temporal111
3 years, 7 months ago
We could say that the key phrase here is "if the approvals take longer than eight hours.", it means that you are not only waiting for the approval of your team leader, also you are waiting for other approvals. That is the reason why We could think that "gates" answer should be the correct one.
upvoted 1 times
...
CristianN
3 years, 7 months ago
https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deploy-using-approvals?view=azure-devops seems to be correct
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago