What is Azure Policy used for?
a) To enforce governance rules on Azure resources
b) To monitor resource usage and billing
c) To automate deployment of VMs
d) To store encrypted keys and secrets
Answer:
a) To enforce governance rules on Azure resources
Explanation:
Azure Policy is a service that helps enforce governance and compliance rules across Azure resources. It allows users to define policies to control resource configurations, ensure compliance with corporate or regulatory standards, and audit non-compliant resources.
Azure Policy includes built-in policies for common scenarios, such as ensuring resources are deployed in specific regions, enforcing tag usage, and controlling resource sizes. It can also be integrated with Azure Blueprints to enforce governance at scale.
This service is widely used in enterprise environments to ensure that resources adhere to predefined governance policies and regulatory requirements.