In Azure, when you assign a policy, you must specify the scope. Which of the following scopes is not valid for a policy assignment?
Think about the levels at which Azure policies can be applied.
Azure policies can be assigned at management group, subscription, or resource group levels. Individual resources like a single VM cannot be a direct scope for policy assignment.
You have an Azure policy assigned with the effect set to Deny for creating storage accounts in a specific region. What happens when a user tries to create a storage account in that region?
Consider what the Deny effect means in Azure Policy.
The Deny effect blocks the request to create or update resources that do not comply with the policy. So, the storage account creation is blocked.
You want to design a solution to monitor compliance of multiple subscriptions under a management group using Azure Policy. Which approach will provide a centralized compliance report for all subscriptions?
Think about how Azure Policy inheritance works and where compliance data is aggregated.
Assigning policies at the management group level applies them to all subscriptions under it, and the compliance dashboard at that scope shows aggregated compliance data.
You have a policy assigned to a subscription that restricts public IP addresses. You create an exemption for a specific resource group. What is the impact of this exemption on compliance reporting?
Consider how policy exemptions affect compliance evaluation scope.
Policy exemptions exclude specified scopes from compliance evaluation, so resources in the exempted resource group are not evaluated against that policy.
In a large Azure environment with hundreds of subscriptions, what is the best practice to efficiently manage and enforce policies while minimizing administrative overhead?
Think about how Azure Policy inheritance and management groups help scale policy management.
Using management groups allows centralized policy assignments that automatically apply to all child subscriptions, reducing repetitive work and ensuring consistency.