An organization has an Azure subscription containing several active virtual machines deployed in the East US region. To comply with a new corporate directive, an administrator assigns an Azure Policy to the subscription that restricts resource deployments to the West US region using the 'Deny' effect.
Which of the following describes the outcome of this policy assignment on the resources and deployments?
- AThe existing virtual machines in East US are automatically shut down to enforce compliance, and new virtual machine deployments to East US are blocked.
- BThe existing virtual machines in East US continue to run and remain compliant, and users with the Owner role can continue to deploy new virtual machines to East US.
- The existing virtual machines in East US continue to run and are marked as non-compliant, while new virtual machine deployments to East US are blocked.Cevap
- DThe existing virtual machines in East US are automatically migrated to West US, and new virtual machine deployments to East US are redirected to West US.
Cevap
The existing virtual machines in East US continue to run and are marked as non-compliant, while new virtual machine deployments to East US are blocked.
When a new Azure Policy with a Deny effect is assigned, it does not retroactively delete, stop, or modify existing resources that violate the policy. Instead, those existing resources continue to run but are marked as non-compliant in compliance reporting. However, any new attempts to deploy resources that violate the policy parameters (such as deploying to East US instead of the allowed West US region) will be blocked.
Adım Adım Çözüm
Anahtar Kavram
Azure Policy
Tahmini Süre:2m 0s