An organization has an Azure resource hierarchy consisting of a management group named MG-Finance and two child subscriptions named Sub-Billing and Sub-Reporting.
An administrator creates an Azure Policy initiative named Finance-Compliance-Initiative that contains the following policy definitions:
- A policy that restricts storage account creation to the East US region (Effect: Deny).
- A policy that requires secure transfer (HTTPS) to be enabled for all storage accounts (Effect: Deny).
The administrator assigns Finance-Compliance-Initiative to MG-Finance and adds Sub-Reporting to the exclusion list of the assignment.
The administrator then attempts to perform the following operations:
- Operation A: In Sub-Billing, create a storage account in the West US region with HTTPS enabled.
- Operation B: In Sub-Reporting, create a storage account in the West US region with HTTPS disabled.
Which of the following describes the outcome of these operations?
- Operation A is blocked because of the location restriction policy, while Operation B succeeds because the subscription is excluded from the initiative assignment.Cevap
- BBoth Operation A and Operation B are blocked because policy exclusions assigned to initiatives do not override location restrictions.
- COperation A succeeds because secure transfer is enabled, but Operation B is blocked because it violates the secure transfer policy.
- DBoth Operation A and Operation B are allowed, but the storage account created in Operation B is flagged as non-compliant because the secure transfer policy uses an Audit effect by default.