az-104 Practice Question 1701
Exam: az-104
Domain: Manage Azure identities and governance
Topic: Manage Azure subscriptions and governance
Difficulty: medium
During a recent audit, it was discovered that several critical resources in Contoso Ltd's Azure environment have been accidentally deleted. To prevent such incidents in the future, what action should you take to ensure that critical resources cannot be deleted without approval?
Answer Options
A
Implement Azure Policy to enforce rules around resource deletion.
B
Set up Azure Cost Alerts to notify when spending exceeds a certain threshold.
C
Create Management Groups to organize resources into logical groups for easier management.
D
Use Azure Resource Locks to prevent the deletion of specific resources or resource groups.
Correct Answer
D: Use Azure Resource Locks to prevent the deletion of specific resources or resource groups.
Explanation
The correct answer is to use Azure Resource Locks to prevent the deletion of specific resources or resource groups. This ensures that only approved personnel can delete these critical resources, thus preventing accidental deletions. Azure Policy can be used to enforce rules but does not provide a mechanism to lock resources against deletion. Management Groups are used for organizational purposes and do not control access to resources. Cost alerts can help monitor spending but do not prevent deletion of resources.