When deploying multiple Windows Server 2022 virtual machines in a VM scale set via an ARM template, how can you ensure NGINX is present and running on every VM after deployment?
Choose an answer
Tap an option to check your answer.
Correct answer: Azure Custom Script Extension.
Why this is the answer
The Azure Custom Script Extension is the correct choice because it allows you to download and execute scripts on Azure virtual machines, making it ideal for post-deployment configuration tasks like installing NGINX. It ensures the script runs on every VM instance within the scale set. Deployment Center in Azure App Service is for deploying web apps to App Service, not for configuring VMs in a scale set. Microsoft Entra Application Proxy provides secure remote access to on-premises web applications, which is unrelated to VM configuration. The Publish-AzVMDscConfiguration cmdlet is used for Desired State Configuration (DSC) and requires a pull server or push configuration, which is a more complex setup than simply running a script for this specific task.
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