Courseiva

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

You need to monitor the performance of an Azure App Service web app. Which metric indicates high CPU usage?

⚠ Common exam trap

Candidates often confuse 'Requests per second' (a throughput metric) with CPU usage, assuming more requests always mean more CPU, but Azure App Service can handle many requests with low CPU if the workload is I/O-bound or efficiently parallelized.

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

CPU Time

CPU Time is the correct metric for monitoring high CPU usage in an Azure App Service web app because it directly measures the total amount of CPU processing time consumed by the application. When CPU usage is high, the CPU Time metric will show elevated values, reflecting the actual seconds of processor time used, which is the most direct indicator of CPU load.

Answer analysis

Option-by-option breakdown

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

  • Data In/Out

    Why it's wrong here

    The 'Data In/Out' metric primarily measures the network traffic flowing to and from your Azure App Service, quantifying the amount of data transmitted over the network interface. While network performance is crucial for overall application responsiveness, this metric does not directly reflect the computational load or processing power consumed by the application's CPU. It indicates network throughput, which is a distinct performance aspect from CPU utilization.

  • Requests per second

    Why it's wrong here

    The 'Requests per second' metric quantifies the volume of incoming HTTP/HTTPS requests that the App Service is handling within a given time interval. This metric is a strong indicator of the application's traffic load and demand, but it does not directly measure the actual CPU cycles or processing time spent executing application code. While a high request rate can certainly lead to increased CPU usage, it is an input load metric rather than a direct measure of CPU consumption.

  • CPU Time

    Why this is correct

    The 'CPU Time' metric is a direct and highly accurate measure for monitoring the performance of an Azure App Service, as it quantifies the cumulative amount of time the application's processes spend actively utilizing the CPU cores. This metric directly reflects the computational resources consumed by the application, providing a clear indication of its processing load and efficiency. High CPU Time often signals inefficient code, complex operations, or insufficient compute capacity for the workload.

  • Memory working set

    Why it's wrong here

    The 'Memory working set' metric reports the amount of physical memory (RAM) currently being utilized by the App Service's processes. This is a critical indicator for identifying potential memory leaks, excessive memory consumption, or issues related to application stability and responsiveness due to memory pressure. However, it specifically measures memory usage and does not directly reflect the CPU's activity, computational workload, or the time spent executing instructions.

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.