Courseiva
Develop Azure compute solutionseasyMultiple ChoiceObjective-mapped

AZ-204 Develop Azure compute solutions Practice Question

You need to monitor the performance of an Azure App Service web app. You want to track the number of HTTP 500 errors over the last hour. Which Azure Monitor metric should you use?

⚠ Common exam trap

A common mix-up: candidates confuse 'Http5xx' with 'Requests' or 'Average Response Time', thinking that a high error count would be reflected in those metrics, but they do not directly count error status codes.

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

Http5xx

The Http5xx metric in Azure Monitor tracks the count of HTTP 500-level server error responses returned by your App Service. Since the question specifically asks for the number of HTTP 500 errors over the last hour, this metric directly provides that count without any aggregation or filtering needed.

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

    Why it's wrong here

    The 'Data In' metric tracks the total number of bytes received by the App Service from clients over a specified period. While it provides insight into network traffic volume directed towards the application, it offers no direct indication of application performance issues, server-side errors, or the success rate of requests. Therefore, it is not suitable for identifying problems specifically related to server errors.

  • Average Response Time

    Why it's wrong here

    The 'Average Response Time' metric measures the average duration, in milliseconds, that the App Service takes to process a request and send a response back to the client. While crucial for identifying latency issues and slow application performance, this metric does not specifically differentiate between successful but slow responses and outright server errors (HTTP 5xx). A high response time could indicate a bottleneck, but not necessarily a server error.

  • Http5xx

    Why this is correct

    The 'Http5xx' metric specifically counts the number of HTTP responses with a status code in the 500-599 range, which unequivocally indicates server-side errors. These errors signify that the App Service or the underlying application encountered an unexpected condition that prevented it from fulfilling a valid request. Monitoring this metric is a direct and critical way to identify and track application performance degradation caused by internal server failures.

  • Requests

    Why it's wrong here

    The 'Requests' metric provides a total count of all HTTP requests received by the App Service within a given time frame, regardless of their outcome. While useful for understanding overall traffic volume and load, this metric does not distinguish between successful requests (2xx), client errors (4xx), or server errors (5xx). Consequently, it cannot specifically highlight performance issues caused by server failures, as it aggregates all request types.

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.