Designing and Implementing Microsoft DevOps Solutions (AZ-400) Practice 2026 – The Comprehensive Guide to Master Your Exam!

Session length

1 / 20

What should you do to ensure each Azure VM maintains its intended configuration?

Run background scripts

Enable auto-scaling

Use Azure Automation State Configuration

To ensure each Azure VM maintains its intended configuration, utilizing Azure Automation State Configuration is the most effective approach. This service allows you to define and manage the desired state configuration of your VMs using PowerShell Desired State Configuration (DSC). By doing so, it continuously monitors and maintains the configuration of your Azure VMs, automatically applying any necessary changes to bring them back to the defined state if deviations occur. This ensures consistency and compliance with the configuration policies you've set.

In contrast, running background scripts may help in manual configuration management but lacks the systematic and automated enforcement provided by Azure Automation State Configuration. Enabling auto-scaling is useful for managing load and resource utilization but does not directly ensure that the configuration of each VM is maintained. Similarly, increasing the VM size can improve performance or capabilities but does not address the configuration management aspect, leaving the VMs potentially misconfigured if configuration drift occurs. Thus, using Azure Automation State Configuration stands out as the most reliable method for maintaining intended VM configurations.

Get further explanation with Examzify DeepDiveBeta

Increase VM size

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy