Zenith Retail Systems is designing a governance strategy for its Azure subscriptions. The security team requires that all virtual machines deployed to a resource group named 'PCI-DSS-Production' are automatically registered with Azure Backup. If a virtual machine is created without a backup configuration, the system must automatically configure the backup protection and deploy the required recovery services resources without preventing the virtual machine from being created. Which Azure Policy effect should you recommend to meet this requirement?
- DeployIfNotExistsCevap
- BDeny
- CAuditIfNotExists
- DModify
Cevap
DeployIfNotExists
The DeployIfNotExists effect is the correct choice because it evaluates the resource configuration and automatically executes a template deployment (in this case, establishing the backup configuration) when the target resource is created, without blocking the resource creation itself.
Adım Adım Çözüm
Anahtar Kavram
Azure Policy effects for automated remediation of resources