nerdexam
MicrosoftMicrosoft

AZ-104 · Question #688

AZ-104 Question #688: Real Exam Question with Answer & Explanation

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, 2026

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

Explanation

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.

Common mistakes.

  • A. Microsoft Intune is used for managing endpoints and mobile devices, not for configuring server applications like NGINX on Azure Virtual Machines.
  • C. Azure Application Insights is a monitoring service for application performance and health, not a deployment or configuration tool for installing software.
  • D. 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

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

Community Discussion

No community discussion yet for this question.

Full AZ-104 PracticeBrowse All AZ-104 Questions