Question 951 of 997

Quick Answer

The answer is the Application Insights Profiler. This feature is the correct choice because it captures detailed call stacks and execution timing for slow requests, allowing you to pinpoint the exact code path causing high server response time, even when failed requests are low. On the Microsoft Azure Developer Associate AZ-204 exam, this scenario tests your ability to differentiate between monitoring tools: while metrics like Server Response Time indicate a problem, only the Profiler dives into code-level tracing to identify the specific method or database call causing the delay. A common trap is choosing Live Metrics Stream or Snapshot Debugger—Live Metrics shows real-time data but lacks deep code traces, and Snapshot Debugger focuses on exceptions, not slow code paths. Remember the memory tip: “Profiler profiles the path; metrics just measure the pain.”

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

This AZ-204 practice question tests your understanding of monitor, troubleshoot, and optimize azure solutions. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. A key principle to apply: application Insights Profiler collects performance traces for live web apps.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

You have an Azure App Service web app that experiences intermittent slowness. You enable Application Insights and notice that the "Failed Requests" metric is low, but "Server Response Time" is high for a subset of requests. You want to identify the specific code path causing the delay. Which feature should you use?

Question 1hardmultiple choice
Read the full NAT/PAT explanation →

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.

C is correct because the Application Insights Profiler captures detailed call stacks and execution timing for slow requests, allowing you to pinpoint the exact code path causing high server response time. Unlike other features, Profiler is specifically designed for performance troubleshooting by tracing request execution at the code level.

Key principle: Application Insights Profiler collects performance traces for live web apps.

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

    Incorrect. Live Metrics shows real-time telemetry but does not provide code-level profiling.

  • Snapshot Debugger.

    Why it's wrong here

    Incorrect. Snapshot Debugger captures state on exceptions, not general slowness.

  • Profiler.

    Why this is correct

    Correct. Profiler traces requests and identifies slow code paths.

    Related concept

    Application Insights Profiler collects performance traces for live web apps.

  • Availability tests.

    Why it's wrong here

    Incorrect. Availability tests monitor uptime and responsiveness from external locations, not internal code paths.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is confusing the Profiler (for performance diagnostics) with the Snapshot Debugger (for exception debugging), leading candidates to choose Snapshot Debugger when the question explicitly asks about identifying the cause of high response times, not failures.

Trap categories for this question

  • Command / output trap

    Incorrect. Live Metrics shows real-time telemetry but does not provide code-level profiling.

Detailed technical explanation

How to think about this question

The Application Insights Profiler works by sampling requests and collecting CPU and wall-clock time per method call, generating a flame graph or call tree that shows where time is spent. It uses ETW (Event Tracing for Windows) on Windows or similar mechanisms on Linux to capture stack traces with minimal overhead, typically adding less than 5% CPU load. In a real-world scenario, a developer might discover that a specific database query or serialization method is consuming 80% of the response time, enabling targeted optimization.

KKey Concepts to Remember

  • Application Insights Profiler collects performance traces for live web apps.
  • It identifies 'hot paths' in code that consume significant CPU time.
  • Profiler visualizes call stacks and timing data to pinpoint delays.
  • It's ideal for diagnosing intermittent slowness and high server response times.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Application Insights Profiler collects performance traces for live web apps.

Real-world example

How this comes up in practice

An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.

What to study next

Got this wrong? Here's your next step.

Review application Insights Profiler collects performance traces for live web apps., then practise related AZ-204 questions on the same topic to reinforce the concept.

Related practice questions

Related AZ-204 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-204 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-204 question test?

Monitor, troubleshoot, and optimize Azure solutions — This question tests Monitor, troubleshoot, and optimize Azure solutions — Application Insights Profiler collects performance traces for live web apps..

What is the correct answer to this question?

The correct answer is: Profiler. — C is correct because the Application Insights Profiler captures detailed call stacks and execution timing for slow requests, allowing you to pinpoint the exact code path causing high server response time. Unlike other features, Profiler is specifically designed for performance troubleshooting by tracing request execution at the code level.

What should I do if I get this AZ-204 question wrong?

Review application Insights Profiler collects performance traces for live web apps., then practise related AZ-204 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

Application Insights Profiler collects performance traces for live web apps.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways this is tested on AZ-204

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Your Azure web app is running in a production environment. Users report that the app is slow. You need to identify the root cause without impacting production traffic. Which approach should you use?

medium
  • A.Enable Application Insights Profiler
  • B.Enable Application Insights sampling at 100%
  • C.Run a load test in a staging slot
  • D.Review server logs in the web app

Why A: Application Insights Profiler provides detailed, per-request performance traces that pinpoint which code paths are consuming the most time, enabling root cause analysis of slow responses without altering production traffic. Unlike sampling or logs, Profiler captures execution data on-demand or automatically with minimal overhead, making it ideal for diagnosing latency issues in a live environment.

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.