An enterprise is designing a governance strategy for its Azure subscriptions. The security team requires that all newly created Azure Storage accounts must have their minimum TLS version configured to version 1.2. If a deployment request does not specify this version or sets it to a lower value, the configuration must be automatically updated to version 1.2 without blocking the deployment of the resource. Which Azure Policy configuration should you recommend to meet these requirements with the least administrative overhead?
- AAn Azure Policy using the Deny effect to block the deployment of any storage account that does not specify a minimum TLS version of 1.2.
- An Azure Policy using the Modify effect to set the minimum TLS version property to 1.2 during resource creation.Cevap
- CAn Azure Policy using the DeployIfNotExists effect to run a template deployment that updates the minimum TLS version.
- DAn Azure Policy using the Audit effect paired with a scheduled Azure Automation runbook to identify and update non-compliant storage accounts.
Cevap
An Azure Policy using the Modify effect to set the minimum TLS version property to 1.2 during resource creation.
The correct solution is to use the Modify effect. The Modify effect is used to add, replace, or remove properties or tags on a resource during creation or update. It allows the resource deployment to succeed while automatically correcting the minimum TLS version to 1.2, meeting the requirements with the least administrative overhead.
Adım Adım Çözüm
Anahtar Kavram
Selecting the correct Azure Policy effect to enforce compliance on resource properties without blocking deployments.