Application Insights – Availability Tests and Alerts · AZ-204: Developing Solutions for Microsoft Azure Monitor and Troubleshoot Azure Solutions
An Application Insights URL availability test named Checkout API runs every five minutes. The team must be alerted when the availability of this test…
Practice question from Application Insights – Availability Tests and Alerts (AZ-204: Developing Solutions for Microsoft Azure Monitor and Troubleshoot Azure Solutions), with the correct answer and a step-by-step solution.
medium · MCQ · Q-98CD54
An Application Insights URL availability test named Checkout API runs every five minutes. The team must be alerted when the availability of this test falls below 99 percent during a 15-minute period. Which configuration best meets the requirement?
- A.Create an Azure Monitor metric alert on the Application Insights availability metric, select the Checkout API test, use Average aggregation, and set the threshold below 99 percent over a 15-minute windowCorrect answer
- B.Create an alert on the App Service CPU percentage metric with a threshold of 99 percent
- C.Create a log alert that searches application traces for the text "HTTP 500" during a 15-minute window
- D.Create an alert on request count and trigger it whenever the count is below 99 requests
Solution
Availability tests publish availability telemetry that can be used by Azure Monitor metric alerts. Selecting the specific test and evaluating its average availability over the required window directly matches the requirement. CPU, request count, or a text search in traces does not reliably measure the test's availability percentage.
More from Application Insights – Availability Tests and Alerts
- A team wants to detect when its public API becomes unreachable from outside Azure. They create an Application Insights availability test fo…
- An application has a checkout workflow that requires logging in, adding an item to a cart, and verifying that the total is correct. The wor…
- An Application Insights URL availability test calls an endpoint that returns HTTP 204 with an empty response body. The test is configured t…
- A company wants an alert only when an Application Insights availability test fails from at least two different test locations during the sa…
Practise more Monitor and Troubleshoot Azure Solutions
Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.
Start practising freeFree to start · No credit card needed