Bitzu

AZ-400 ยท Infrastructure as code

Desired state with Azure Machine Configuration

Desired State Configuration concepts, Azure Automation State Configuration (retirement and replacement), Azure Machine Configuration with Azure Policy, drift detection and remediation.

Key points

  • Desired State Configuration declares OS and app settings; the platform detects and optionally corrects drift.
  • Azure Automation State Configuration (DSC pull server) retires on 30 September 2027.
  • Replacement: Azure Machine Configuration, an Azure Policy feature for Azure VMs and Arc-enabled servers.
  • Modes: Audit (only reports), Apply and Monitor (applies, then watches), Apply and Autocorrect (also fixes drift).

Source: https://learn.microsoft.com/en-us/azure/governance/machine-configuration/overview

Practice questions

Single choice

Which service is the recommended replacement for Azure Automation State Configuration?

  1. Azure Machine Configuration
  2. Azure Deployment Environments
  3. Azure Load Testing
  4. Template specs
Show answer

Answer: A. Azure Machine Configuration

Azure Machine Configuration combines the DSC extension, Automation State Configuration and requested features, with hybrid support. The other services do not manage in-guest settings.

Select all that apply

Which are enforcement modes offered by Azure Machine Configuration?

  1. Audit
  2. Apply and Monitor
  3. Snapshot and Revert
  4. Apply and Autocorrect
  5. Quarantine
Show answer

Answer: A. Audit, B. Apply and Monitor, D. Apply and Autocorrect

The three modes are Audit, Apply and Monitor, and Apply and Autocorrect. Snapshot and Quarantine are not modes of this feature.

True or false

True or false: Azure Machine Configuration can only manage virtual machines that run inside Azure.

Show answer

Answer: False

False. It also covers Azure Arc-enabled servers, so on-premises and other-cloud machines can be assigned configurations.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More AZ-400 topics in this module