Interview Prep/Azure/CI/CD and IaC

Your team wants to move from ARM JSON templates to Bicep. How do you migrate?

BeginnerScenarioCI/CD and IaC
Answer

Situation read → Bicep compiles to ARM, so migration is mechanical and low risk.

What I'd do →

  1. az bicep decompile -f azuredeploy.json for each template
  2. Clean up: modules, parameter types, remove generated noise, use symbolic references
  3. Run az deployment group what-if against existing environments; expect no changes
  4. Switch pipelines to Bicep, keep the same deployment names and scopes

Why → What-if confirms the Bicep version describes the same resources before any deployment.

Interview tip → Mention decompile is "best effort"; review the output.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on CI/CD and IaC