AZ-900 Describe Azure management and governance Practice Question
Which Azure service enables automated configuration management and desired state enforcement for Windows and Linux VMs?
⚠ Common exam trap
Candidates often confuse Azure Policy (which governs Azure resource properties at the control plane) with Azure Automation State Configuration (which manages OS-level settings inside the VM guest), leading candidates to pick Azure Policy because both involve 'compliance' and 'enforcement' terminology.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Azure Automation State Configuration
Azure Automation State Configuration (DSC) is the correct service because it provides PowerShell Desired State Configuration (DSC) for Windows and Linux VMs, enabling automated configuration management and enforcement of a desired state. It uses a pull or push model to ensure VMs remain compliant with defined configurations, such as installed software or registry settings, without manual intervention.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Azure Policy
Why it's wrong here
Azure Policy is not the right choice because it enforces governance at the Azure Resource Manager layer by evaluating compliance of resources (e.g., allowed VM sizes, required tags, or SKU restrictions). Policy does not interact with the guest OS—it cannot set registry values, install features, or manage local user accounts—so it cannot ensure that the operating system inside a VM remains in a particular configuration state.
- ✓
Azure Automation State Configuration
Why this is correct
Azure Automation State Configuration is the correct service because it uses PowerShell DSC (Desired State Configuration) to continuously enforce an exact OS-level configuration on both Windows and Linux VMs. It defines how a machine should be configured (e.g., registry keys, installed roles, file contents) and automatically corrects any drift by reconciling the actual state with the desired state, making it ideal for ongoing operating system configuration management.
- ✗
Azure Monitor
Why it's wrong here
Azure Monitor is not the right choice because it is a telemetry and observability service that collects metrics, logs, and activity data from Azure resources to detect anomalies and trigger alerts. It provides visibility into what is happening (e.g., CPU, memory, availability) but does not perform any corrective configuration actions; it cannot enforce or repair an OS-level desired state, only report on operational health.
- ✗
Azure Blueprints
Why it's wrong here
Azure Blueprints is not the right choice because it orchestrates the initial deployment of resources by grouping together ARM templates, policy assignments, and RBAC roles into a single package for repeatable environments. It defines the 'as-launched' resource architecture but does not monitor or continuously maintain OS configuration over time; once deployment completes, Blueprints is no longer involved in enforcing settings inside the VM operating system.
Go deeper
Related to this question
About these practice questions
This AZ-900 question is part of Courseiva's 981-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-900 exam.