AZ-204 Practice Question: Monitor, troubleshoot, and optimize Azure solutions
You are deploying a microservices application on Azure Kubernetes Service (AKS). You need to monitor the resource consumption of each pod and set up alerts when CPU usage exceeds 80% for 5 minutes. What should you use?
⚠ Common exam trap
Watch out — candidates often confuse Application Insights (which monitors application code) with Container Insights (which monitors container infrastructure), leading them to select Application Insights for resource consumption alerts.
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
✓
Azure Monitor Container Insights
Azure Monitor Container Insights is the correct choice because it is specifically designed to monitor the performance of container workloads running on Azure Kubernetes Service (AKS). It collects memory and processor metrics from controllers, nodes, and containers, and supports setting metric alerts based on CPU usage thresholds, such as 80% for 5 minutes.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Azure Monitor VM Insights
Why it's wrong here
Azure Monitor VM Insights is specifically designed to monitor the performance and health of Azure virtual machines and virtual machine scale sets. It collects performance data from the guest operating system, including CPU, memory, disk, and network metrics, typically using a Log Analytics agent installed on the VM. This solution does not provide native visibility into Kubernetes pod-level metrics or container orchestration health, making it unsuitable for monitoring an AKS microservices application.
- ✗
Application Insights
Why it's wrong here
Application Insights, a feature of Azure Monitor, is an Application Performance Management (APM) service that focuses on monitoring the performance, availability, and usage of live web applications. It collects telemetry data such as request rates, response times, dependency calls, and exceptions directly from application code via SDKs. While crucial for understanding application behavior, it does not provide granular infrastructure metrics like CPU/memory utilization of Kubernetes pods or node health, which are essential for monitoring the underlying microservices platform.
- ✗
Azure Service Health
Why it's wrong here
Azure Service Health provides a personalized view of the health of Azure services and regions you are using, notifying you about service outages, planned maintenance, and other health advisories that might impact your resources. It focuses on the operational status of the Azure platform itself, not the performance or health of individual customer-deployed resources like Kubernetes pods or nodes within an AKS cluster. Therefore, it cannot be used to set up metric alerts for microservices application performance.
- ✓
Azure Monitor Container Insights
Why this is correct
Azure Monitor Container Insights is the dedicated monitoring solution for Azure Kubernetes Service (AKS) clusters, providing comprehensive performance visibility by collecting metrics from controllers, nodes, and containers. It automatically collects CPU, memory, disk, and network usage data, along with inventory data, from Kubernetes components and workloads. This enables detailed analysis of pod health, resource utilization, and the ability to configure metric alerts directly on container-level performance thresholds, making it ideal for microservices deployed on AKS.
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.