An enterprise operations team is adopting Infrastructure as Code (IaC) to deploy and manage their cloud infrastructure in a repeatable manner. They are evaluating the use of Azure Resource Manager (ARM) templates. Which two of the following statements about ARM templates are correct?
- They use a declarative syntax, which allows you to define the desired state of your deployment without writing the sequence of programming commands to create it.Answer
- They allow you to define dependencies between resources, ensuring they are deployed in the correct sequence.Answer
- CThey act as imperative scripts that execute sequential programming commands and require manual instructions to rollback changes.
- DThey enable the creation of nested resource groups within a single target resource group to build a multi-tiered organizational structure.
Answer
The correct statements are that ARM templates use a declarative syntax to define the desired state of deployment without sequence programming commands, and they allow defining dependencies between resources to ensure they are deployed in the correct sequence.
The correct statements reflect the core benefits of Azure Resource Manager templates. First, they are declarative, meaning the deployment defines the desired state of resources without specifying the individual command-line steps to achieve it. Second, they support dependencies, ensuring resources that rely on others are deployed in the correct order.
Step-by-Step Solution
Key Concept
Azure Resource Manager (ARM) and ARM Templates/Bicep