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

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

An Azure App Service application has memory pressure. The developer needs distributed tracing across requests and dependencies. What should be enabled?

⚠ Common exam trap

Watch out — candidates often confuse Azure Policy (governance) or Cost Management (budgeting) with monitoring tools, or think static website logs can trace application dependencies, when only Application Insights provides the necessary distributed tracing and dependency correlation.

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 with dependency tracking

Application Insights with dependency tracking enables distributed tracing by automatically collecting telemetry across HTTP requests, database calls, and external service dependencies. This allows developers to correlate end-to-end transactions and identify the root cause of memory pressure, such as a specific dependency causing excessive resource consumption.

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 with dependency tracking

    Why this is correct

    Application Insights provides request, dependency, exception, and trace telemetry for application diagnostics.

  • Azure Policy compliance scan

    Why it's wrong here

    Policy evaluates resource compliance, not distributed application traces.

  • Cost Management budgets only

    Why it's wrong here

    Budgets track spend but do not diagnose request paths.

  • Storage account static website logs

    Why it's wrong here

    Static website logs do not trace App Service dependencies.

Go deeper

Related to this question

About these practice questions

One of 881 original AZ-204 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.