Which Azure service provides real-time performance monitoring and alerting for live web applications, including request rates and failure rates?
Application Insights is an application performance management (APM) service that automatically monitors live web applications, capturing request rates, response times, failure rates, and dependency call durations. It provides code-level diagnostics, distributed tracing, and user behavior analytics (e.g., page views and session counts) through instrumentation SDKs, enabling proactive anomaly detection. This makes it the correct choice for monitoring application performance and user behavior.
Why this answer
Azure Application Insights is a feature of Azure Monitor specifically designed for Application Performance Management (APM) of live web applications. It automatically detects performance anomalies, includes powerful analytics tools to diagnose issues, and provides real-time metrics such as request rates, response times, and failure rates directly from the application code.
Exam trap
The trap here is that candidates often confuse Azure Monitor Metrics (which collects infrastructure-level metrics) with Application Insights (which collects application-level telemetry), leading them to choose Option A for a question specifically about live web application performance.
How to eliminate wrong answers
Option A is wrong because Azure Monitor Metrics collects numerical data from Azure resources (e.g., CPU, memory) but does not provide application-level telemetry like request rates or failure rates for live web applications. Option C is wrong because Azure Log Analytics is a query and analysis tool for log data stored in Log Analytics workspaces; it does not offer real-time performance monitoring or alerting for live web applications out of the box. Option D is wrong because Azure Network Watcher is focused on network-level diagnostics and monitoring (e.g., packet capture, NSG flow logs), not application-layer performance metrics.