Designing and Implementing Microsoft DevOps Solutions — Question 23
You have a web app hosted on Azure App Service. The web app stores data in an Azure SQL database.
You need to generate an alert when there are 10,000 simultaneous connections to the database. The solution must minimize development effort.
Which option should you select in the Diagnostics settings of the database?
Answer options
- A. Send to Log Analytics
- B. Stream to an event hub
- C. Archive to a storage account
Correct answer: A
Explanation
Choosing 'Send to Log Analytics' allows for easy monitoring and alerting based on the desired threshold of 10,000 connections with minimal development effort. 'Stream to an event hub' may require additional setup for processing events, and 'Archive to a storage account' does not provide real-time alerting capabilities.