Azure Policy Flashcards
Azure Policy
Azure Policy is a governance tool with which you can standarize deployment attributes in your subscriptions. For example, you can deploy an Azure Policy that limits the regions your admins can deploy resources to.
Azure Policy
-managing resources with Azure Policy begins with the creation of a policy definition in the portal
-the definitions have conditions under which it is enforced, along with an affect that takes place when the defined conditions are met
-to leverage these policy definitions, they need to first be assigned. this can be accomplished through the Azure portal, PowerShell, or Azure CLI.
-Policy re-evaluation happens about once an hour.
Azure Policy scope exclusions allow:
-management groups
-subscriptions
-resource groups
-resources
Azure Policy - Initiative
Initiatives enable you to group several policy definitions to simplify assignments and management because youwork with a group as a single item.
For example, you can group related tagging policy definitions into a single initative. Rather than assigning each policy individually, you apply the initative.
You can only assign initiative through
Defender for Cloud
Which would you implement to comply with restrictive geo-location compliancce requirements within your Azure subscription?
Azure Policy
-the “AllowedLocations” Azure policy is used to restrict the geo-location of resourcded ddepliyed in to the subscription