Microsoft Azure Administrator Associate AZ-104 Practice Question
Your company mandates that all newly created virtual machines (VMs) must have a 'Department' tag assigned during deployment. If a VM is created without this tag, the creation should be blocked. What should you do to meet this requirement?
Use Azure RBAC to restrict the creation of VMs without the 'Department' tag
Apply a resource lock to prevent creation of VMs without the 'Department' tag
Assign an Azure Policy with a 'Deny' effect that requires the 'Department' tag on VMs
Assign an Azure Policy with an 'Audit' effect that checks for the 'Department' tag on VMs