AZ-104 Exam QuestionsBrowse all questions from this exam

AZ-104 Exam - Question 283


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?

Show Answer
Correct Answer: B

To ensure that NGINX is available on all Azure virtual machines after deployment using an Azure Resource Manager template, the preferred method is to use a Desired State Configuration (DSC) extension. DSC is a management platform used to automatically configure, deploy, and manage systems. Using a DSC extension allows administrators to define the desired state and ensure that NGINX is installed and configured across all virtual machines consistently. Other options, such as Deployment Center in Azure App Service, the New-AzConfigurationAssignment cmdlet, and a Microsoft Intune device configuration profile, are either not suitable for virtual machine scale sets or not directly related to the task of installing and configuring software on these virtual machines.

Discussion

17 comments
Sign in to comment
mlantonisOption: B
May 18, 2021

Correct Answer: B Note: There are several versions of this question in the exam. The question has two correct answers: 1. a Desired State Configuration (DSC) extension 2. Azure Custom Script Extension The question can have other incorrect answer options, including the following: ✑ the Publish-AzVMDscConfiguration cmdlet ✑ Azure Application Insights

Takloy
Nov 11, 2021

Thanks!

ABhi101
Jan 9, 2022

Thanks

Volh
Jun 16, 2022

thanks !

fedztedzOption: B
Feb 3, 2021

Answer is correct "B" with ARM templates, DSC is used.

Olram
Apr 23, 2022

Passed today. this is part of the exam. 4/23/22

Jamal786Option: B
Nov 20, 2022

During my training with MS, i had this question but solution B was not given there so in that case this is the solution below: You are going to deploy multiple Virtual machines having Windows Server Operating System by using Azure Resource Manager Template. While completing the Virtual machines deployment you need to make sure that NGINX should be available on all the Virtual machines. What should you do? Answer: Azure Custom Script Extension Explanation A Custom Script Extension(CSE) can be used to automatically launch and execute virtual machine customization tasks post configuration. Your script extension may perform simple tasks such as stopping the virtual machine or installing a software component. However, the script could be more complex and perform a series of tasks. Reference link https://learn.microsoft.com/en-us/training/modules/configure-virtual-machine-extensions/3-implement-custom-script-extensions

Christina666
Jul 14, 2024

appears on my last attempt 9th July, has option Azure Custom Script Extension instead of DSC

LazylinuxOption: B
Jun 20, 2022

I Luv Honey because it is B Desired State Configuration (DSC) extension

devilcriedOption: B
Jun 26, 2022

The Azure DSC extension uses the Azure VM Agent framework to deliver, enact, and report on DSC configurations running on Azure VMs. https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-overview

zellckOption: B
Feb 12, 2023

B is the answer. https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-template

KIRANdxc
Apr 28, 2022

Got his question in exam !!

manalshowaeiOption: B
Jun 9, 2022

B. A Desired State Configuration (DSC) extension

EmnCoursOption: B
Aug 19, 2022

Correct Answer: B

lulzsec2019
Jun 23, 2023

You will see this question multiple times. I promise :)

willt
Apr 12, 2022

Correct

F117A_StealthOption: B
Sep 5, 2022

B. A Desired State Configuration (DSC) extension

zellckOption: B
Feb 12, 2023

Same as Question 67. https://www.examtopics.com/discussions/microsoft/view/67546-exam-az-104-topic-4-question-67-discussion

Amir1909Option: B
Feb 27, 2024

B is correct

Amir1909Option: B
Feb 27, 2024

B is correct

Amir1909Option: B
Feb 27, 2024

B is correct