🔥 3-day streak
Microsoft DevOps Engineer Expert41 / 138
Question 41 of 138

Your team maintains an Azure resource group that should contain ONLY the resources defined in a Bicep template. During a release stage, an ARM/Bicep deployment task provisions a storage account, a Key Vault, and an App Service plan. A previous manual deployment left an orphaned public IP address and an unused network security group in the same resource group. The release pipeline must remove any resources that are not declared in the template on every deployment, while keeping the pipeline declarative. Which deployment configuration should you use?

Reviewed for accuracy · Report an issueNext question