Courseiva

AZ-204 Practice Question: Monitor, troubleshoot, and optimize Azure solutions

You need to monitor the performance of an Azure web app. You want to track the average response time and the number of failed requests over the last hour. Which Azure service should you use?

⚠ Common exam trap

Many exam-takers confuse Azure Monitor (the umbrella service) with Application Insights, assuming Azure Monitor alone can track application-level metrics like response time, when in fact it requires Application Insights for that granular, code-level telemetry.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Application Insights

Application Insights is the correct choice because it is an extensible Application Performance Management (APM) service designed specifically for monitoring live web applications. It can track metrics like average response time and failed request counts out of the box, and it integrates directly with Azure Web Apps via the Application Insights SDK or auto-instrumentation, providing real-time telemetry without requiring custom logging code.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Application Insights

    Why this is correct

    Application Insights is the correct choice as it provides comprehensive Application Performance Management (APM) capabilities specifically designed for monitoring live web applications. It automatically instruments your application to collect detailed telemetry, including request response times, failure rates, dependency performance, and exceptions. This service offers deep insights into application health and user experience, enabling proactive identification and diagnosis of performance bottlenecks.

  • Azure Monitor

    Why it's wrong here

    Azure Monitor is incorrect because, while it is the overarching monitoring service for Azure, its core functionality primarily focuses on collecting infrastructure and platform-level metrics and logs (e.g., CPU utilization, network I/O) from Azure resources. To obtain detailed application-level performance metrics such as response times, dependency calls, and request failures for a web app, Azure Monitor relies on integration with Application Insights or requires significant custom instrumentation, making it not the direct, out-of-the-box solution for this specific need.

  • Log Analytics

    Why it's wrong here

    Log Analytics is incorrect because it serves as a powerful query engine and data storage service within Azure Monitor, primarily used for analyzing logs and metrics collected from various sources. While Application Insights data can be sent to a Log Analytics workspace for advanced querying with Kusto Query Language (KQL), Log Analytics itself does not directly instrument or collect application performance metrics from a web app. It is a tool for analyzing collected data, not for the initial collection of application-level performance telemetry.

  • Azure Advisor

    Why it's wrong here

    Azure Advisor is incorrect because its purpose is to provide personalized recommendations for optimizing Azure resource configurations across five pillars: Cost, Security, Reliability, Operational Excellence, and Performance. It analyzes resource usage and configuration against best practices to suggest improvements, but it does not provide real-time performance metrics or monitoring capabilities for a live web application's operational performance. It's a guidance tool, not a monitoring solution.

About these practice questions

Courseiva writes every AZ-204 question from scratch — 881 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.