You inherit an Azure estate with no IaC. How do you bring it under control?
AdvancedScenarioReliability, Cost and Migration
Answer
Situation read → Inventory, prioritise, import incrementally, lock down.
What I'd do →
- Inventory with Azure Resource Graph:
az graph query -q "Resources | summarize count() by type, resourceGroup" - Prioritise prod critical resources
- Export with
aztfexportper RG; clean up into modules; import blocks - Achieve "no changes" plan, then make the pipeline the only write path
- Policy for guardrails; drift detection
Why → Importing is incremental; a clean plan proves code matches reality before you depend on it.
Interview tip → Mention Resource Graph; it's the fastest way to see everything.
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?IntermediateDev and test environments run 24/7. How do you cut their cost?IntermediateA region-wide Azure incident is affecting your primary region. What do you do?Advanced