An organization has an Azure environment structured with a Management Group named Corp-MG, a Subscription named Sub-Prod, and a Resource Group named RG-Core. You assign various Azure Policy definitions at these scopes. You need to match the policy effect configured for a Virtual Machine deployment to its corresponding operational behavior when an administrator attempts to deploy a new Virtual Machine resource named VM-App-01 into RG-Core.
Match each Azure Policy effect on the left to its corresponding operational behavior on the right.
- ModifyAlters the properties or tags of the virtual machine before the request is sent to the compute resource provider, and requires a managed identity for remediation.
- DeployIfNotExistsTriggers a template deployment to configure diagnostic settings for the virtual machine after a successful creation, and requires a managed identity.
- DenyPrevents the virtual machine deployment request from reaching the compute resource provider if the virtual machine size is not in the allowed list.
- AuditIfNotExistsChecks if a dependency, such as a log analytics agent extension, is deployed on the virtual machine, marking the virtual machine as non-compliant without blocking deployment if missing.
Cevap
Modify matches the behavior of altering properties or tags before the request reaches the resource provider and requiring a managed identity. DeployIfNotExists matches triggering a template deployment after successful creation and requiring a managed identity. Deny matches preventing the deployment request from reaching the resource provider if non-compliant. AuditIfNotExists matches checking if a dependency exists and marking the resource non-compliant without blocking if it is missing.
The matching correctly pairs each Azure Policy effect with its precise execution phase, behavior, and managed identity requirements: Modify alters resource tags or properties before creation/update; DeployIfNotExists deploys a resource template after a successful deployment; Deny blocks non-compliant deployment requests pre-evaluation; AuditIfNotExists audits dependent resources post-evaluation without blocking.
Adım Adım Çözüm
Anahtar Kavram
Azure Policy effects determine how compliance is evaluated and enforced during resource creation or update.
Tahmini Süre:2m 0s