Dev and test environments run 24/7. How do you cut their cost?
IntermediateScenarioReliability, Cost and Migration
Answer
Situation read → Schedule them off outside working hours.
What I'd do →
- AKS:
az aks stopnightly via a scheduled pipeline or Automation runbook; or scale user pools to zero - VMs: auto-shutdown schedules (
az vm auto-shutdown -g rg -n vm --time 2000), deallocate not just stop - Smaller SKUs and Free tier AKS in dev
- Log Analytics daily cap in dev workspaces
- Azure Dev/Test pricing on eligible subscriptions
Why → Non-prod is idle about 70% of the week; scheduling is the cheapest big win.
Interview tip → "Stopped" in the OS still bills; "deallocated" doesn't.
More on Reliability, Cost and Migration
A key customer wants a 99.99% SLA for an app currently in a single region. What do you propose?AdvancedYou need to define RTO and RPO for a workload and build DR. Walk through it.IntermediateMonthly Azure spend is 30% over budget. What's your 30-day plan?IntermediateYou're migrating an app from AWS to Azure. How do you plan it?IntermediateA region-wide Azure incident is affecting your primary region. What do you do?AdvancedYou're asked to cut Log Analytics costs by half without losing important data.Intermediate