nerdexam
Microsoft

AZ-104 · Question #688

You plan to deploy several Azure virtual machines that will run Windows Server 2019 in a virtual machine scale set by using an Azure Resource Manager template. You need to ensure that NGINX is…

The correct answer is B. a Desired State Configuration (DSC) extension. To automatically install NGINX on Azure virtual machines within a scale set during or after deployment via an ARM template, a Desired State Configuration (DSC) extension is the appropriate tool.

Submitted by deeparc· Mar 30, 2026Deploy and manage Azure compute resources

Question

You plan to deploy several Azure virtual machines that will run Windows Server 2019 in a virtual machine scale set by using an Azure Resource Manager template. You need to ensure that NGINX is available on all the virtual machines after they are deployed. What should you use?

Options

  • Aa Microsoft Intune device configuration profile
  • Ba Desired State Configuration (DSC) extension
  • CAzure Application Insights
  • DDeployment Center in Azure App Service

How the community answered

(40 responses)
  • A
    10% (4)
  • B
    70% (28)
  • C
    3% (1)
  • D
    18% (7)

Why each option

To automatically install NGINX on Azure virtual machines within a scale set during or after deployment via an ARM template, a Desired State Configuration (DSC) extension is the appropriate tool.

Aa Microsoft Intune device configuration profile

Microsoft Intune is used for managing endpoints and mobile devices, not for configuring server applications like NGINX on Azure Virtual Machines.

Ba Desired State Configuration (DSC) extensionCorrect

A Desired State Configuration (DSC) extension allows you to define the desired software configuration, such as installing NGINX, and apply it to virtual machines, including those in a scale set, during or after deployment. This ensures that all VMs consistently reach a specified state, making it ideal for automating application setup on newly provisioned machines.

CAzure Application Insights

Azure Application Insights is a monitoring service for application performance and health, not a deployment or configuration tool for installing software.

DDeployment Center in Azure App Service

Deployment Center in Azure App Service is for deploying web applications to Azure App Service, which is a PaaS offering, not for configuring software on IaaS Azure Virtual Machines or VM scale sets.

Concept tested: VM Scale Set post-deployment configuration

Source: https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-overview

Topics

#DSC extension#VMSS#ARM templates#configuration management

Community Discussion

No community discussion yet for this question.

Full AZ-104 Practice