Interview Prep/Monitoring & Observability/Cloud Monitoring, Incidents and Migrations

You need to monitor AKS clusters and App Services on Azure. What do you set up?

IntermediateScenarioCloud Monitoring, Incidents and Migrations
Answer

Situation read → Azure has native options that map well to the open-source stack.

What I'd do →

  1. Enable Azure Monitor managed service for Prometheus on AKS (metrics add-on) and Azure Managed Grafana for dashboards.
  2. Enable Container Insights for container logs into a Log Analytics workspace.
  3. Instrument apps with the Azure Monitor OpenTelemetry Distro, sending to Application Insights.
  4. Create alert rules: Prometheus rule groups for cluster alerts, log search alerts with KQL, and action groups for paging.
  5. Set Log Analytics retention and use the Basic/Auxiliary log tiers for high-volume, rarely queried logs.
ContainerLogV2
| where LogLevel == "error"
| summarize count() by bin(TimeGenerated, 5m), ContainerName

Why → Managed Prometheus keeps PromQL skills portable; Log Analytics gives KQL for logs.

Interview tip → Mention cost of Log Analytics ingestion and how to control it with data collection rules.

All Monitoring & Observability questions

More on Cloud Monitoring, Incidents and Migrations