Soru

Zorluk: KolayAzure Policy

Determine if the following statement is true or false: If you assign an Azure Policy definition to an Azure resource group, any existing resources within that group that do not comply with the policy are automatically deleted.

Cevap: Cevap

Cevap

The statement is false because Azure Policy evaluates existing resources for compliance and flags them as non-compliant rather than deleting them.
The correct answer is false because Azure Policy only flags existing non-compliant resources in compliance reports rather than deleting them.

Adım Adım Çözüm

1
Analyze the action of assigning an Azure Policy definition to a resource group.
Azure Policy will evaluate all resources within the scope (the resource group) against the policy rules.
To understand how the policy affects both new and existing resources.
2
Determine the impact of Azure Policy on existing resources that do not comply.
Existing resources that violate the policy are marked as non-compliant in the Azure Policy dashboard, but they are not deleted or modified.
Azure Policy's primary mechanism for existing resources is evaluation and reporting, preventing automatic destructive actions like deletion.

Anahtar Kavram

Azure Policy compliance evaluation for existing resources
Tahmini Süre:45s
Bu soruyu puanla