Question

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

An enterprise administration team is planning to standardize their infrastructure deployments across development and production environments. They decide to adopt Azure Bicep and Azure Resource Manager (ARM) templates to manage their resources.

Which of the following are characteristics or capabilities of using ARM templates or Bicep for resource deployment? (Select TWO).

  1. They use declarative syntax to define the desired state of resources, allowing Azure to determine the correct deployment order.Answer
  2. They support deploying resources across multiple resource groups and subscriptions in a single deployment operation.Answer
  3. C
    They support creating nested resource groups inside other resource groups to build hierarchical structures.
  4. D
    They execute resource creation using imperative scripting, requiring developers to specify every step-by-step programming action.

Answer

The characteristics and capabilities of ARM templates and Bicep include the use of declarative syntax to define the desired state of resources, and support for deploying resources across multiple resource groups and subscriptions in a single deployment.
The correct options are the ones stating that they use declarative syntax to define the desired state of resources, and that they support deploying resources across multiple resource groups and subscriptions. Declarative syntax allows the developer to focus on the end state rather than the ordering or CLI commands, as Azure automatically resolves dependencies. Additionally, ARM templates and Bicep files can utilize modules or nested deployments to deploy resources to different resource groups and subscriptions simultaneously.

Step-by-Step Solution

1
Analyze the core features of Azure Resource Manager (ARM) templates and Bicep.
Identify that they are declarative rather than imperative, allowing you to define 'what' to deploy without specifying step-by-step execution scripts.
This evaluates the fundamental definition and operational mechanism of ARM/Bicep infrastructure-as-code.
2
Evaluate deployment capabilities and scopes supported by ARM templates and Bicep.
Confirm that they support targeting different resource groups and subscriptions in one template deployment, but resource groups themselves cannot be nested.
This differentiates valid container architectures and deployment boundaries from invalid ones like nested resource groups.

Key Concept

Azure Resource Manager (ARM) Templates and Bicep deploy resources declaratively across scopes.
Rate this question