Question

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

During an internal IT audit, a financial company is asked to document how they ensure that their Azure resource deployments remain consistent and free of manual configuration errors. The IT team explains that they use Azure Bicep templates to define their resource configurations. Which of the following statements correctly describes a capability or structural limitation of this deployment method?

  1. A
    The templates execute as a step-by-step procedural script that runs command-line operations in a strict sequence to configure resources.
  2. B
    The templates allow you to define nested resource groups within a parent resource group to establish a folder-like hierarchy.
  3. The templates use a declarative syntax, allowing you to define the target state of the resources without writing the exact sequence of commands to create them.Answer
  4. D
    The templates automatically restrict all deployed resources to the same physical Azure region as the target resource group.

Answer

The correct answer states that templates use a declarative syntax, allowing you to define the target state of the resources without writing the exact sequence of commands to create them.
Azure Resource Manager (ARM) templates and Bicep use a declarative syntax, meaning that you define the desired state of the infrastructure you want to deploy, and Azure handles the underlying deployment steps. This ensures that the deployment is consistent and repeatable.

Step-by-Step Solution

1
Identify the primary mechanism of Azure Resource Manager (ARM) and Bicep templates.
Understand that ARM templates use a declarative model.
Knowing that templates define 'what' to deploy rather than 'how' to deploy is fundamental to IaC in Azure.
2
Evaluate the limitations regarding resource group structures and resource locations.
Recall that resource groups cannot be nested and resources can reside in different regions than their resource groups.
This helps eliminate distractors related to resource grouping constraints and location requirements.
3
Match these findings against the provided options.
Determine that the option regarding declarative syntax and defining the target state is the only correct statement.
This directly answers the question about the capability or limitation of Bicep templates.

Key Concept

Declarative infrastructure deployment using Azure Resource Manager (ARM) and Bicep templates.
Rate this question