A healthcare provider, MedVitals Systems, operates a hierarchical Azure resource structure. The Root Management Group contains a child Management Group named Shared-Services. A subscription named Archive-Billing is placed within the Shared-Services Management Group. You need to design an Azure governance architecture to meet the following requirements:
- Ensure that any newly deployed virtual machines (VMs) automatically have the dependency agent installed.
- Ensure that the Archive-Billing subscription is not subject to the VM agent requirement to prevent unnecessary agent installations on archived workloads.
- Ensure that all storage accounts enforce secure transfer (HTTPS). Existing non-compliant storage accounts must be flagged in compliance reports but must not be modified or blocked.
- Minimize administrative overhead.
Which design should you recommend?
- Assign a policy definition that uses the DeployIfNotExists effect for the VM dependency agent to the Shared-Services Management Group, with the Archive-Billing subscription specified in the exclusion scope (notScopes) of the assignment. Assign a policy definition that uses the Deny effect for storage account secure transfer to the Root Management Group.Cevap
- BAssign a policy definition that uses the DeployIfNotExists effect for the VM dependency agent to the Shared-Services Management Group. Create a separate policy assignment at the Archive-Billing subscription scope with the effect set to Disabled. Assign a policy definition that uses the Audit effect for storage account secure transfer to the Root Management Group, and configure a remediation task to apply the secure transfer setting.
- CAssign a policy definition that uses the Modify effect for the VM dependency agent to the Shared-Services Management Group, and exclude the Archive-Billing subscription by using Azure role-based access control (RBAC) deny assignments. Assign a policy definition that uses the Deny effect for storage account secure transfer to the Root Management Group.
- DAssign a policy definition that uses the Audit effect for the VM dependency agent to the Shared-Services Management Group, and configure an Azure Automation runbook to install the agent. Assign a policy definition that uses the DeployIfNotExists effect for storage account secure transfer to the Root Management Group.