An IT manager wants to ensure that developers cannot create public IP addresses in a development subscription, but they should still be able to create all other resource types. Which Azure feature should be used to enforce this restriction?
- Azure PolicyAnswer
- BAzure Role-Based Access Control (RBAC)
- CAzure Resource Locks
- DAzure Service Health
Answer
Azure Policy
Azure Policy is correct because it allows administrators to define rules that enforce resource properties, such as blocking the creation of specific resource types (like public IP addresses) or limiting deployments to allowed SKUs and locations.
Step-by-Step Solution
Key Concept
Azure Policy is used to enforce resource compliance and restrict resource properties during deployment.