A development team wants to ensure that all their testing environments are deployed consistently across different Azure subscriptions. They decide to use Bicep templates to define the infrastructure. What is a key benefit of using this declarative approach for their deployments?
- AThey allow the team to write step-by-step command scripts that execute sequentially to build the environment.
- BThey allow the team to create nested resource groups within other resource groups to organize resources hierarchically.
- They allow the team to define the desired end-state of the infrastructure, leaving Azure to determine how to deploy it.Answer
- DThey force all deployed resources to inherit and use the exact same geographic region as the resource group.
Answer
They allow the team to define the desired end-state of the infrastructure, leaving Azure to determine how to deploy it.
Using declarative templates allows developers to specify what infrastructure they want (the desired end-state) rather than detailing the step-by-step instructions to create it. Azure Resource Manager handles the deployment logic, dependency ordering, and parallel execution automatically.
Step-by-Step Solution
Key Concept
Declarative infrastructure deployment using ARM templates and Bicep
Estimated Time:45s