Start here! Get your feet wet with the Microsoft cloud and begin your journey to earning your Microsoft Certified: Azure Fundamentals certification!
Prepare and test your skills

Prepare and test your skills

Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An organization is implementing Infrastructure as Code (IaC) to automate the deployment of virtual machines, subnets, and storage resources. The security team needs a solution to ensure that all infrastructure configurations defined in code adhere to internal governance rules and regulatory compliance standards across their environment.
Which Azure capability should the organization use to enforce governance standards and audit resource compliance?
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Azure Policy is a core governance and compliance service in Azure that allows organizations to define, assign, and manage business rules and standards across their cloud environment. It evaluates cloud resources during deployment and continuously post-deployment to ensure that configurations align with organizational baselines and regulatory frameworks.
When paired with Infrastructure as Code (IaC) workflows, Azure Policy acts as an automated guardrail. It can prevent the creation of non-compliant resources defined in templates or audit existing deployments against predefined compliance baselines. If an IaC template attempts to deploy a resource that violates a corporate security rule (such as creating an unencrypted storage account or omitting required security parameters), Azure Policy can block the deployment or flag it for remediation.
Azure Policy integrates natively with resource management layers, ensuring that governance is enforced consistently whether resources are created via the Azure portal, CLI, or automated IaC pipelines.