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?

  1. 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
  2. B.Create an alert on the App Service CPU percentage metric with a threshold of 99 percent
  3. C.Create a log alert that searches application traces for the text "HTTP 500" during a 15-minute window
  4. 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

All of Application Insights – Availability Tests and Alerts

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 free

Free to start · No credit card needed