AZ-204 · Question #605
You have an Azure subscription that contains an Application Insights resource named AI1 and an Azure App Service web app named App1. You create a Standard availability test in AI1. You set its URL…
The correct answer is B. Create an alert rule. To receive email notifications when an Application Insights availability test fails, you must create an alert rule that monitors the test status and triggers an action group.
Question
Options
- ACreate an action group.
- BCreate an alert rule.
- CEnable the test.
- DEnable the alert.
How the community answered
(30 responses)- A7% (2)
- B83% (25)
- C7% (2)
- D3% (1)
Why each option
To receive email notifications when an Application Insights availability test fails, you must create an alert rule that monitors the test status and triggers an action group.
An action group defines *what* actions to take (like sending an email), but it does not define *when* those actions should be taken based on a specific condition like an availability test failure. An alert rule is needed to link the condition to the action group.
An alert rule is necessary to define the conditions under which an alert should be fired (e.g., a failed availability test) and to specify the action group that contains the email notifications to be sent. Without an alert rule, the availability test failure will not trigger any notification.
Enabling the availability test ensures it runs, but it does not configure any notification mechanism for when the test fails. An alert rule is required to define notifications.
This option assumes an alert already exists but is disabled. The objective is to 'ensure that any failed tests generate email notifications,' which implies creating the notification mechanism from scratch if it doesn't exist, not just enabling a pre-existing one.
Concept tested: Application Insights availability test alerts
Source: https://learn.microsoft.com/en-us/azure/azure-monitor/app/availability-alerts
Topics
Community Discussion
No community discussion yet for this question.