An organization is planning a deployment strategy for a multi-tier application consisting of an Azure SQL Database and an Azure App Service. The development team wants to define the infrastructure in a Bicep template so that the database is always fully provisioned before the App Service starts deploying, without manually writing procedural creation code. Which feature of Azure Resource Manager (ARM) templates and Bicep should the team use to achieve this?
- Implicit or explicit resource dependencies to control the order of deploymentCevap
- BImperative scripting blocks embedded within the template to define step-by-step deployment instructions
- CNested resource groups that enforce a strict parent-child creation hierarchy
- DResource location inheritance that forces dependent resources to deploy sequentially based on region
Cevap
Implicit or explicit resource dependencies to control the order of deployment
The correct answer is the option focusing on resource dependencies. Azure Resource Manager uses dependencies to construct a deployment graph. If resource X depends on resource Y, the Resource Manager ensures resource Y is successfully deployed before starting the deployment of resource X.
Adım Adım Çözüm
Anahtar Kavram
Azure Resource Manager (ARM) templates and Bicep use declarative syntax and resource dependencies to define and orchestrate the deployment order of resources.
Tahmini Süre:1m 0s