Developing Solutions for Microsoft Azure — Question 64
You have a workspace-based Azure Application Insights resource named Insights1 and an Azure App Service Web App named App1. Insights1 collects telemetry generated by App1.
You plan to evaluate the alerting functionality of the availability testing that is enabled for App1 by taking it offline for 50 minutes.
You create a standard availability test for App1, set its frequency to 15 minutes, and set its alert status to Enabled.
You need to assess the number of alerts that you should expect by taking App1 offline for 50 minutes.
How many alerts should you expect?
Answer options
- A. 1
- B. 2
- C. 3
- D. 4
Correct answer: A
Explanation
You will receive 1 alert because the availability test runs every 15 minutes. When App1 is taken offline for 50 minutes, it will trigger an alert only after the first 15-minute interval, and the second alert would come at the 30-minute mark. However, since the test is still offline by the third interval (45 minutes), it won't generate another alert until the next cycle, which exceeds the 50 minutes of downtime, resulting in only one alert being registered.