exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 2 question 15 discussion

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

SIMULATION -
You need to create a notification if the peak average response time of an Azure web app named az400-123456789-main is more than five seconds when evaluated during a five-minute period. The notification must trigger the `https://contoso.com/notify` webhook.
To complete this task, sign in to the Microsoft Azure portal.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
1. Open Microsoft Azure Portal
2. Log into your Azure account and go to App Service and look under Monitoring then you will see Alert.
3. Select Add an alert rule
4. Configure the alert rule as per below and click Ok.

Source: Alert on Metrics -
Resource Group: az400-123456789-main

Resource: az400-123456789-main -

Threshold: 5 -

Period: Over the last 5 minutes -
Webhook: https://contoso.com/notify

Reference:
https://azure.microsoft.com/es-es/blog/webhooks-for-azure-alerts/

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
ozbonny
Highly Voted 1 year, 3 months ago
In 2024 the steps has changed but you can follow go to the web app go to metrics got to alerts go to create/create new rule select response time select static select operator greater than set threshold 5 next an create an action group or select an existing one that send the notification to the webhook, if you create a new action group just select the action you need in this case webhook and set the url review and create and the keep going with the alert configuration.
upvoted 14 times
...
renzoku
Highly Voted 1 year, 11 months ago
App Services > Web App Monitoring > Alerts > New alert rule (Resource, Condition, Aggregation type, Time window) Actions > Add action grohttps://www.examtopics.com/exams/microsoft/az-400/view/5/#up (Action name, Action type, Webhook URI)
upvoted 7 times
...
chakanirban
Most Recent 12 months ago
NO LAB on 6/21 - 9 am IST - 1 Case study , 6 new Q 1 YES NO series was new - 3 Q - I answered all No , because 2 will No and 1 Y JOB A depends JOB B JOB B on JOB C JOB C on JOB D who is dependent , who can run parallel 3 yes/ no
upvoted 4 times
...
rejisundar
2 years, 4 months ago
Webhook need to be created with action group. please refer below link. https://medium.com/c-sharp-progarmming/azure-alerts-define-alert-rule-in-your-application-service-to-catch-failed-requests-by-webhook-ad987bda1188
upvoted 2 times
...
Govcomm
2 years, 11 months ago
Azure web app --> Webhook --> Input the URL
upvoted 1 times
fuchsm999
6 months, 3 weeks ago
Nope, you are mixing things
upvoted 1 times
...
...
dupakonia
3 years, 1 month ago
I think the webhook need to be created in action group and not directly under alert as in the answer
upvoted 5 times
testing
2 years, 9 months ago
I think that is correct as per below, https://www.dynatrace.com/support/help/shortlink/azure-alerts#configure-azure-alerts-via-webhook
upvoted 6 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 ...