Question 1 of 30
In a corporate environment, a company has implemented Azure Policy to manage its resources effectively. The IT team is tasked with ensuring that all virtual machines (VMs) deployed in Azure must have a specific tag for cost management purposes. The policy definition is set to enforce the presence of the tag \"CostCenter\" with a value that must be a non-empty string. If a new VM is created without this tag, the policy should deny the creation. Given this scenario, which of the following statements best describes the implications of this policy definition?
The policy will automatically add the "CostCenter" tag to any VM that is created without it, ensuring compliance without user intervention.
The policy will prevent the creation of any VM that does not have the "CostCenter" tag, thereby enforcing compliance at the point of resource creation.
The policy will only provide a warning to users creating VMs without the "CostCenter" tag, allowing them to proceed if they choose.
The policy will apply retroactively to existing VMs, tagging them with "CostCenter" if they do not already have it.

Preparing for Microsoft AZ-720 Troubleshooting Microsoft Azure Connectivity? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free