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

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

A developer needs to run a Kusto query against application request data to identify 95th percentile latency by operation. Where should the query be run? The design must avoid adding custom operational scripts.

⚠ Common exam trap

It's easy for candidates to confuse Azure Resource Graph (which queries resource metadata) with Log Analytics (which queries telemetry data), leading them to choose Option D despite its inability to handle application performance queries.

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

Logs in Application Insights or the associated Log Analytics workspace

Application Insights and its associated Log Analytics workspace store application request data and support Kusto Query Language (KQL) queries. Running a Kusto query against the `requests` table in the Logs workspace allows you to calculate percentile latency (e.g., using the `percentiles()` function) without custom operational scripts, as this is a built-in capability.

Answer analysis

Option-by-option breakdown

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

  • Logs in Application Insights or the associated Log Analytics workspace

    Why this is correct

    Logs in Application Insights, or its integrated Log Analytics workspace, are the definitive source for application request data. Application Insights automatically collects comprehensive telemetry, including details about incoming HTTP requests, such as their duration, success status, and URL. This data is stored in dedicated tables, like `requests`, within the Log Analytics workspace, enabling powerful analysis using Kusto Query Language (KQL) to identify performance trends and troubleshoot issues.

  • Microsoft Entra audit logs

    Why it's wrong here

    Microsoft Entra audit logs are specifically designed to track identity-related events and administrative activities within Microsoft Entra ID. These logs record operations such as user sign-ins, password resets, application registrations, and role assignments, providing crucial data for security and compliance auditing. However, they do not contain granular application performance telemetry, like HTTP request latency or response codes, which are essential for monitoring the operational health of an application.

  • Azure Key Vault diagnostic settings

    Why it's wrong here

    Azure Key Vault diagnostic settings capture logs detailing operations performed against a Key Vault instance, such as secret access, key creation, or certificate management. These logs are vital for auditing who accessed what sensitive data and when, ensuring security and compliance for cryptographic keys and secrets. They do not, however, contain any information regarding the performance or latency of an application's incoming requests, as their scope is limited to Key Vault specific activities.

  • Azure Resource Graph only

    Why it's wrong here

    Azure Resource Graph is a service optimized for querying metadata about Azure resources across various subscriptions and management groups. It allows users to discover resources, evaluate their configurations, and understand their relationships based on their properties. Resource Graph is not designed to store or query operational telemetry, such as application request latency or error rates, making it unsuitable for real-time application performance monitoring or troubleshooting application-specific runtime issues.

About these practice questions

This AZ-204 question is part of Courseiva's 881-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.