Learn how to ensure NGINX availability on Azure virtual machines running Windows Server 2019 in a virtual machine scale set. Utilize the Desired State Configuration (DSC) extension for streamlined deployment and management.
Table of Contents
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?
A. the Publish-AzVMDscConfiguration cmdlet
B. a Microsoft Endpoint Manager device configuration profile
C. Azure Application Insights
D. a Desired State Configuration (DSC) extension
Answer
D. a Desired State Configuration (DSC) extension
Explanation
A Desired State Configuration (DSC) extension is a way to apply configuration settings to Azure virtual machines by using PowerShell DSC. You can use a DSC extension to install and configure NGINX on all the virtual machines in a scale set by specifying the extension in the Azure Resource Manager template.
A. the Publish-AzVMDscConfiguration cmdlet is incorrect because it is used to publish a DSC configuration to Azure Automation, not to apply it to virtual machines. You need to use the Set-AzVmDscExtension cmdlet to apply a DSC configuration to a single virtual machine, or a DSC extension to apply it to a scale set.
B. a Microsoft Endpoint Manager device configuration profile is incorrect because it is used to manage settings and features on devices that are enrolled in Microsoft Intune, not on Azure virtual machines. A device configuration profile cannot be used to install or configure NGINX on virtual machines.
C. Azure Application Insights is incorrect because it is a service that monitors the performance and availability of applications, not of virtual machines. Azure Application Insights cannot be used to install or configure NGINX on virtual machines.
Microsoft Azure Administrator AZ-104 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Azure Administrator AZ-104 exam and earn Microsoft Azure Administrator AZ-104 certification.