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 →
- Enable Azure Monitor managed service for Prometheus on AKS (metrics add-on) and Azure Managed Grafana for dashboards.
- Enable Container Insights for container logs into a Log Analytics workspace.
- Instrument apps with the Azure Monitor OpenTelemetry Distro, sending to Application Insights.
- Create alert rules: Prometheus rule groups for cluster alerts, log search alerts with KQL, and action groups for paging.
- 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.
More on Cloud Monitoring, Incidents and Migrations
A new AWS workload uses EC2, an ALB and RDS, with only CloudWatch available. Which alarms do you create first?BeginnerThe CloudWatch bill jumped from $2k to $15k a month. How do you find and cut the cost?IntermediateYour company has 50 AWS accounts. How do you get one monitoring view?IntermediateYour team uses Prometheus and Grafana, but RDS, SQS and ALB metrics live only in CloudWatch. How do you unify?IntermediateHow do you monitor a fleet of AWS Lambda functions?BeginnerYour RDS PostgreSQL database gets slow every afternoon. What monitoring do you use to find out why?Beginner