exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 8 question 73 discussion

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

HOTSPOT -

You have a project in Azure DevOps that contains a release pipeline. The pipeline contains two stages named QA and Prod. QA deploys code to an Azure web app named webapp1. Prod deploys code to an Azure web app named webapp2.

You need to ensure that code deployments to webapp2 are blocked if Azure Application Insights generates Failed requests alerts following the deployment of new code to webapp1.

What should you do for each stage? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
zellck
Highly Voted 1 year, 6 months ago
1. Add task to configure alert rules in Application Insights 2. Configure a gate in pre-deployment conditions https://learn.microsoft.com/en-us/azure/azure-monitor/app/continuous-monitoring#configure-continuous-monitoring https://learn.microsoft.com/en-us/azure/azure-monitor/app/continuous-monitoring#add-deployment-conditions
upvoted 26 times
...
3arle
Highly Voted 1 year, 10 months ago
provided answer is correct "search for and select Azure App Service deployment with continuous monitoring, and then select Apply." https://learn.microsoft.com/en-us/azure/azure-monitor/app/continuous-monitoring
upvoted 6 times
AzureJobsTillRetire
1 year, 10 months ago
Out of the box, the Azure App Service deployment with continuous monitoring template has four alert rules: Availability, Failed requests, Server response time, and Server exceptions. You can add more rules or change the rule settings to meet your service level needs. To modify alert rule settings: In the left pane of the release pipeline page, select Configure Application Insights Alerts.
upvoted 2 times
...
...
vsvaid
Most Recent 11 months, 2 weeks ago
Add Task Configure Post Gate
upvoted 1 times
...
Madbo
1 year, 7 months ago
Configuring a gate in the pre-deployment conditions is the appropriate action for Prod because it will block the deployment of new code to webapp2 until the Failed requests alerts from Application Insights have been resolved. Adding a task to configure alert rules in Application Insights is the appropriate action for QA because it will enable you to monitor for Failed requests alerts during testing and catch any potential issues before code is deployed to Prod.
upvoted 4 times
...
mrg998
1 year, 10 months ago
Incorrect, I would say: QA: Configure a post deployment approval in the post deployment conditions Prod: Configure a gate in the pre-deployment conditions
upvoted 5 times
Bear_Polar
1 year, 2 months ago
approval = human, gate = computer
upvoted 2 times
...
xRiot007
1 year, 4 months ago
QA - add a task for alerting. Post deployment approval is a decision making task that can be automated or not, but you have to make your decisions based on something. Prod - a pre-deployment approval that can decide based on the post-deployment of QA alerts if it will continue deployment to prod or block it.
upvoted 1 times
...
isawitfirst
1 year, 2 months ago
incorrect. post deployment approvals are not the same as gates. " When using approvals in your pipeline, the deployment is paused at each point where approval is required until the specified approver grants approval, rejects the release, or reassigns the approval to another user." https://learn.microsoft.com/en-us/azure/devops/pipelines/release/approvals/approvals?view=azure-devops
upvoted 1 times
...
Petya27
1 year, 10 months ago
I think the provided answer is correct, because a post deployment approval is used for another purpose. If you're trying to validate something that has already been deployed, use a post-deployment approval. If you're trying to control when you're going to deploy something to an environment, use a pre-deployment approval. The fact that all of the rest of answers provided for the QA questions are wrong, makes the provided answer about the alert rule in Application insights the right one.
upvoted 2 times
warchoon
1 year, 10 months ago
an approval is a manual reaction, not CD
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 ...