ARM Templates and Bicep
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing Microsoft Azure Administrator premium course — no separate purchase.
Included in this chapter:
- Template anatomy: the four sections you read and edit
- Dependencies: implicit references vs explicit dependsOn
- Deployment scopes and modes: where it lands and what gets deleted
- Deploying, exporting, and converting between ARM and Bicep
ARM JSON template vs Bicep file
| Dimension | ARM JSON template | Bicep file |
|---|---|---|
| File / extension | JSON (.json) | Bicep DSL (.bicep) |
| Required boilerplate | $schema and contentVersion required | None, declarations only |
| Parameters / variables | parameters and variables objects | param and var keywords |
| Resource reference | resourceId() / reference() functions | symbolic name (e.g. stg.id) |
| Dependency ordering | implicit via reference(), or explicit dependsOn | implicit via symbolic name; explicit dependsOn rarely needed |
| Relationship to engine | fed directly to ARM | transpiled to ARM JSON, then fed to ARM |
| Convert to the other | bicep decompile / az bicep decompile | bicep build / az bicep build |
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
Also tested in
References
- Template structure and syntax (ARM templates)
- Bicep file structure and syntax
- What is Bicep?
- Define the order for deploying resources (dependsOn)
- Deploy resources to resource groups
- Azure Resource Manager deployment modes
- Deployment stacks
- ARM template deployment what-if operation
- Export an ARM template from the Azure portal
- Decompile a JSON ARM template to Bicep