Soru

Zorluk: KolayAzure Resource Manager (ARM) and ARM Templates/Bicep

An administrator wants to deploy several Azure virtual machines and storage accounts. Instead of using the Azure portal to create each resource manually, they decide to use Azure Bicep. Which benefit does this approach provide?

  1. A
    It enables the nesting of resource groups inside other resource groups to simplify organization.
  2. It allows the administrator to define the desired state of the resources in a declarative template that can be repeatedly deployed.Cevap
  3. C
    It automatically forces all deployed resources to reside in the same geographic region as the resource group.
  4. D
    It executes imperative, step-by-step scripts to configure the internal operating system settings of each virtual machine.

Cevap

It allows the administrator to define the desired state of the resources in a declarative template that can be repeatedly deployed.
Azure Bicep allows you to declare the desired end state of your infrastructure. Azure Resource Manager then handles the deployment, ensuring that resources are created consistently and can be repeatedly deployed across environments.

Adım Adım Çözüm

1
Identify the primary deployment mechanism being used (Azure Bicep).
Azure Bicep is a declarative syntax language used to define Azure infrastructure.
This helps determine that we are looking for a benefit related to declarative infrastructure as code.
2
Evaluate the choices to find which one describes a valid capability of Bicep and Azure Resource Manager.
Defining the desired state in a declarative template for repeatable deployment is the core benefit.
The other options describe features that are either not supported by Azure (nesting resource groups), not required (matching resource and group locations), or represent imperative scripting rather than declarative templates.

Anahtar Kavram

Declarative infrastructure deployment using Azure Bicep and ARM templates
Bu soruyu puanla