You use Azure Resource Manager templates to deploy Azure virtual machines and need to automatically disable unused Windows features as VMs are provisioned. Which of the following should you use?
Choose an answer
Tap an option to check your answer.
Correct answer: an Azure Desired State Configuration (DSC) virtual machine extension.
Why this is the answer
An Azure Desired State Configuration (DSC) virtual machine extension is the correct choice because it allows you to define the desired state of your Windows VMs, including which features should be enabled or disabled. When the VM is provisioned, the DSC extension applies this configuration, ensuring unused features are automatically disabled. Device configuration policies and device compliance policies in Microsoft Intune are used for managing and enforcing settings on endpoints, but they are primarily for Intune-managed devices and less directly integrated with ARM template deployments for initial VM provisioning and feature management. Application security groups are used to group VMs and define network security policies, not for configuring operating system features.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed