An enterprise uses a multi-tier Azure landing zone structure under a single Root Management Group (RMG). One of the child management groups is named Legacy-Workloads. The security compliance team requires that all Azure Storage accounts enforce double encryption (infrastructure encryption).
You must design a policy governance strategy to meet the following requirements:
* All new and updated storage accounts must have infrastructure encryption enabled. If not, the deployment must be prevented.
* Existing storage accounts that do not have infrastructure encryption enabled must be flagged as non-compliant for reporting, but their current configurations must remain unaltered, and no automatic remediation tasks should be executed.
* For subscriptions tagged with environment: sandbox, the infrastructure encryption requirement must be recommended but not enforced, ensuring that deployments can succeed even if non-compliant, while their compliance status continues to be monitored and reported.
* The policy must not apply to any resources within the Legacy-Workloads management group.
* The strategy must minimize administrative overhead by using the fewest policy definitions.
Which policy design strategy should you recommend?
- ACreate a single policy definition with a parameterized effect. Assign the policy at the RMG level with the effect parameter set to Deny, adding only the Legacy-Workloads management group to the assignment's exclusion scope (notScopes). Assign the same policy at the sandbox subscription scopes with the effect parameter set to Audit, relying on local assignment inheritance to override the RMG-level assignment.
- BCreate a policy definition with the DeployIfNotExists effect to automatically enable infrastructure encryption. Assign this policy at the RMG level with the Legacy-Workloads management group added to the exclusion scope (notScopes). Create a separate assignment of the policy with the AuditIfNotExists effect at the sandbox subscription scopes.
- Create a single policy definition with a parameterized effect. Assign the policy at the RMG level with the effect parameter set to Deny, adding the Legacy-Workloads management group and sandbox subscriptions to the assignment's exclusion scope (notScopes). Create a second assignment of the same policy at each sandbox subscription scope with the effect parameter set to Audit.Answer
- DCreate a single policy definition with the Deny effect. Assign the policy at the RMG level, adding the Legacy-Workloads management group to the exclusion scope (notScopes). Create a Policy Exemption with a category of Waiver for each of the sandbox subscriptions to prevent the Deny effect from blocking deployments.