An organization needs to guarantee that all newly created storage accounts in their Azure subscription are restricted to a specific list of allowed locations. Which Azure service should be used to enforce this compliance requirement?
- Azure PolicyAnswer
- BAzure Role-Based Access Control (RBAC)
- CResource Locks
- DResource tags
Answer
Azure Policy
Azure Policy evaluates resources in Azure by comparing their properties to business rules defined in policy definitions. The built-in 'Allowed locations' policy definition can be assigned to a subscription or resource group to prevent the deployment of resources, such as storage accounts, in unauthorized regions.
Step-by-Step Solution
Key Concept
Azure Policy is used to enforce rules, standards, and compliance over Azure resources at creation or evaluation time.