Aethera Genomics is designing an Azure governance model. The company's resource hierarchy consists of a root management group named Aethera-Root, under which exist two management groups named Aethera-Platform and Aethera-Workloads.
The Aethera-Platform management group hosts shared services, including a central Log Analytics workspace and private DNS resolvers at and . The Aethera-Workloads management group contains three subscriptions: Aethera-Prod, Aethera-NonProd, and Aethera-Public-Ingress.
You need to design an Azure Policy strategy for the Aethera-Workloads management group that meets the following requirements:
1. All virtual networks (VNets) must automatically route DNS queries to the private DNS resolvers in Aethera-Platform upon creation, without blocking deployment.
2. All VNets must automatically stream resource logs to the central Log Analytics workspace in Aethera-Platform upon creation.
3. Creation of public IP addresses must be blocked across all subscriptions under Aethera-Workloads, except for the Aethera-Public-Ingress subscription, which requires public IPs for Application Gateways.
The solution must minimize administrative overhead.
Which two policy configurations should you include in the design?
- To enforce VNet DNS and logging, assign a policy initiative to the Aethera-Workloads management group containing a Modify policy to set VNet DNS settings and a DeployIfNotExists policy to deploy VNet diagnostic settings.Cevap
- BTo enforce VNet DNS and logging, assign a policy initiative to the Aethera-Workloads management group containing a Deny policy for VNets without custom DNS settings and a Deny policy for VNets without diagnostic settings.
- To restrict public IP creation, assign a policy with the Deny effect to the Aethera-Workloads management group, and exclude the Aethera-Public-Ingress subscription using the notScopes property of the policy assignment.Cevap
- DTo restrict public IP creation, assign a policy with the Audit effect to the Aethera-Workloads management group, configure manual scripts to delete new public IPs, and configure a policy exemption for the Aethera-Public-Ingress subscription.