A company wants to ensure that its infrastructure deployments are consistent and repeatable across different environments. Instead of writing step-by-step scripts that specify how to create each resource, the administrator wants to define the final configuration of the resources. Which feature of Azure Resource Manager (ARM) templates directly supports this deployment method?
- AImperative scripting, which defines the exact sequence of commands to execute
- BResource group nesting, which permits resource groups to contain other resource groups
- Declarative syntax, which defines the desired end-state configuration of the resourcesCevap
- DLocation inheritance, which forces all deployed resources to reside in the resource group's region
Cevap
Declarative syntax, which defines the desired end-state configuration of the resources
The correct answer is the option focusing on declarative syntax. Azure Resource Manager (ARM) templates and Bicep files use declarative syntax, meaning you describe the desired resources and their properties without specifying the exact programming commands or step-by-step sequence to create them.
Adım Adım Çözüm
Anahtar Kavram
ARM templates use declarative syntax to define the desired end-state of Azure infrastructure.