An administrator assigns an Azure Policy definition to an Azure subscription. The policy is configured to deny the deployment of virtual machines that do not have a tag named 'Department'. At the time of assignment, the subscription already contains several virtual machines that do not have this tag. What will happen to the existing virtual machines after the policy is assigned?
- The existing virtual machines continue to run without interruption but are flagged as non-compliant in the compliance dashboard.Cevap
- BThe existing virtual machines are automatically stopped until the 'Department' tag is applied.
- CThe existing virtual machines are automatically deleted to ensure compliance with the subscription guidelines.
- DThe user permissions for the existing virtual machines are revoked, preventing standard users from accessing them.
Cevap
The existing virtual machines continue to run without interruption but are flagged as non-compliant in the compliance dashboard.
The correct answer is correct because Azure Policy is designed to evaluate compliance. When a policy is assigned, any pre-existing resources that violate the policy are not deleted, stopped, or altered; instead, they are simply flagged as non-compliant in the compliance dashboard so administrators can address them manually.
Adım Adım Çözüm
Anahtar Kavram
Azure Policy compliance evaluation behavior on existing resources
Tahmini Süre:1m 0s