AZ-204 Practice Question: Monitor, troubleshoot, and optimize Azure solutions
You are troubleshooting an Azure App Service that runs a Node.js application. The application returns HTTP 500 errors intermittently. Application Insights is configured. Which telemetry item should you examine first to find the root cause?
⚠ Common exam trap
The trap here is that candidates often pick 'Requests' because they see the 500 status code, but they forget that request telemetry only shows the outcome, not the underlying exception details needed for root cause analysis.
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
✓
Exceptions
HTTP 500 errors indicate server-side failures, and Application Insights captures these as Exception telemetry when an unhandled exception occurs in the Node.js runtime. Examining the Exception telemetry first allows you to see the stack trace, error message, and call details, which directly point to the root cause of the intermittent failures.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Exceptions
Why this is correct
When troubleshooting an application crash or unexpected behavior, Exceptions telemetry in Application Insights is the most direct and comprehensive data type. It automatically collects unhandled exceptions, including stack traces, exception types, messages, and associated request context, which are crucial for pinpointing the exact line of code or component causing the issue in an Azure App Service. This detailed information is invaluable for debugging and understanding the root cause of application failures.
- ✗
Traces
Why it's wrong here
Traces telemetry represents custom log messages generated by the application, often using logging frameworks like console.log in Node.js or ILogger in .NET, which are then ingested by Application Insights. While developers can explicitly log exceptions as trace messages, Traces do not inherently or automatically capture the rich, structured exception details (like stack traces, exception types, and call context) that the dedicated Exceptions telemetry type provides by default for unhandled errors. Therefore, relying solely on traces might miss critical debugging information unless explicitly coded to include it.
- ✗
Dependencies
Why it's wrong here
Dependencies telemetry in Application Insights monitors calls made by the application to external services, such as databases, other REST APIs, or Azure services like Storage or Key Vault. It records the success or failure, duration, and target of these external interactions. While a failed dependency call might lead to an application exception, Dependencies telemetry itself focuses on the external call's outcome and performance, not the internal application error details or the stack trace of the exception that occurred within the App Service's code.
- ✗
Requests
Why it's wrong here
Requests telemetry tracks incoming HTTP requests to the Azure App Service, recording metrics like duration, response code (e.g., 200 OK, 500 Internal Server Error), and success/failure status. While a failed request (e.g., a 500 status code) indicates an issue, Requests telemetry alone does not provide the granular details of why the request failed, such as the specific exception type, message, or stack trace that led to the server error. It provides an overview of request health, but not the deep diagnostic information needed for troubleshooting an exception.
Go deeper
Related to this question
About these practice questions
Courseiva writes every AZ-204 question from scratch — 881 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
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.