You will deploy an application to multiple Azure virtual machines running Windows Server 2019. The deployment must ensure virtual machines maintain a consistent configuration while minimizing administrative effort. Which combination should you recommend?
Choose an answer
Tap an option to check your answer.
Correct answer: Azure Resource Manager templates and the PowerShell Desired State Configuration (DSC) extension for Windows.
Why this is the answer
Azure Resource Manager (ARM) templates define the infrastructure declaratively, ensuring consistent resource deployment. PowerShell Desired State Configuration (DSC) is ideal for maintaining consistent configurations on Windows VMs by defining the desired state and automatically correcting deviations. The DSC extension for Windows allows ARM templates to apply DSC configurations to VMs during or after deployment, minimizing administrative effort. Deployment YAML and Azure pipeline deployment groups are used for orchestrating deployments, not primarily for defining and maintaining VM configurations. The Custom Script Extension for Windows can run scripts, but it doesn't inherently provide the state management and drift correction capabilities of DSC. Azure pipeline stage templates are for structuring pipeline stages, not for VM configuration management.
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