Question

Difficulty: EasyAzure Resource Manager (ARM) and ARM Templates/Bicep

A company needs to automate the deployment of multiple virtual networks and storage accounts. The IT team wants to define the desired end-state of the infrastructure in a file and let Azure handle the creation order of the resources, rather than writing step-by-step execution scripts. Which Azure feature should the team use?

  1. Azure Resource Manager (ARM) templatesAnswer
  2. B
    Sequentially executed Azure PowerShell scripts
  3. C
    Nested Azure Resource Groups
  4. D
    Resource Group location inheritance settings

Answer

Azure Resource Manager (ARM) templates
Azure Resource Manager (ARM) templates use a declarative syntax, which allows you to define the resources you want to deploy (such as virtual networks and storage accounts) without needing to write sequence commands. Azure Resource Manager coordinates the deployment and resolves dependencies automatically.

Step-by-Step Solution

1
Identify the requirement of deploying Azure resources using a file that defines the desired end-state (declarative approach) rather than writing step-by-step scripts (imperative approach).
The requirement points to a declarative infrastructure as code (IaC) tool native to Azure.
Declarative tools allow users to describe what resources they need without writing the procedural code to create them.
2
Select the Azure feature designed for declarative template-based deployments.
Azure Resource Manager (ARM) templates provide this declarative deployment capability.
ARM templates use JSON (or Bicep syntax) to define infrastructure declaratively, letting Azure orchestrate the creation and dependencies automatically.

Key Concept

Azure Resource Manager templates are declarative configuration files used to define and deploy infrastructure in a consistent, repeatable manner.
Estimated Time:45s
Rate this question