Exercise - Assign and test an Azure Policy
This guided project consists of the following exercises:
- Exercise 1: Apply cost-tracking tags
- Exercise 2: Create budget and alerts
- Exercise 3: Assign and test an Azure Policy
- Clean up resources
In this exercise, you assign an Azure Policy that restricts resource creation to a specific region, test that it blocks a noncompliant deployment, and review the compliance dashboard. This demonstrates how policy enforcement prevents mistakes before they happen.
The exercise consists of the following tasks:
- Assign a built-in Azure Policy to restrict allowed locations
- Test that the policy blocks a noncompliant resource deployment
- Review the policy compliance dashboard
Launch the exercise and follow the instructions. When you're done, be sure to return to this page so you can continue learning.
Note
To complete this lab you will need an Azure subscription.