Courseiva
Monitor, troubleshoot, and optimize Azure solutionsmediumMultiple ChoiceObjective-mapped

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

You are monitoring an Azure App Service using Application Insights. You notice that the server response time is high for certain requests. You need to drill down to see which external dependencies (like databases or APIs) are causing the delay. Which Application Insights feature should you use?

⚠ Common exam trap

A common mix-up: candidates confuse Application Map (which shows dependency relationships) with Profiler (which shows per-request timing), leading them to select a visualization tool instead of a performance-analysis tool.

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

Profiler

Profiler (C) is correct because it provides a detailed, code-level view of request processing, including the time spent on each external dependency call (e.g., SQL queries, HTTP calls to APIs). It captures execution traces that break down the total server response time into individual dependency durations, allowing you to pinpoint which external service is causing the delay.

Answer analysis

Option-by-option breakdown

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

  • Live Metrics

    Why it's wrong here

    Live Metrics provides a real-time, high-level overview of an application's health, including aggregate request rates, response times, and failure counts. While useful for immediate operational monitoring and detecting sudden spikes or drops, it does not offer the granular, per-request execution traces or detailed breakdown of time spent within specific external dependency calls required to pinpoint a slow dependency's exact contribution to a request's overall duration. It's for 'what's happening now' rather than 'why is this specific request slow'.

  • Application Map

    Why it's wrong here

    Application Map visualizes the logical topology and dependencies between different components and services within a distributed application. It effectively shows the flow of requests and average performance metrics (like average response times) between these components, helping to identify problematic services or external systems at a high level. However, it lacks the ability to provide detailed, per-request execution profiles or call stacks that would reveal the specific timing of individual dependency calls within a single request's lifecycle, making it unsuitable for deep root cause analysis of a slow dependency.

  • Profiler

    Why this is correct

    Profiler captures detailed, per-request execution traces, including the full call stack and the precise time spent in each method, I/O operation, and external dependency call (e.g., database queries, HTTP requests). By analyzing these traces, it can pinpoint exactly which part of the code or which specific external dependency is consuming the most time within a slow request. This granular data is invaluable for identifying the root cause of performance bottlenecks, such as a slow database query or an inefficient API call, by showing its exact contribution to the overall request duration.

  • Snapshot Debugger

    Why it's wrong here

    Snapshot Debugger is specifically designed to capture a snapshot of the application's state, including variables and the call stack, at the exact moment an unhandled exception occurs in production. Its primary purpose is to enable post-mortem debugging of exceptions without needing to reproduce the issue or attach a live debugger. It is not intended for analyzing general performance issues, identifying slow dependencies in successful requests, or understanding the time spent across various operations during normal execution.

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.