Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Exam AZ-104 topic 4 question 52 discussion

Actual exam question from Microsoft's AZ-104
Question #: 52
Topic #: 4
[All AZ-104 Questions]

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. Deployment Center in Azure App Service
  • B. A Desired State Configuration (DSC) extension
  • C. the New-AzConfigurationAssignment cmdlet
  • D. a Microsoft Intune device configuration profile
Show Suggested Answer Hide Answer
Suggested Answer: B ūüó≥ÔłŹ
Azure virtual machine extensions are small packages that run post-deployment configuration and automation on Azure virtual machines.
In the following example, the Azure CLI is used to deploy a custom script extension to an existing virtual machine, which installs a Nginx webserver. az vm extension set \
--resource-group myResourceGroup \
--vm-name myVM --name customScript \
--publisher Microsoft.Azure.Extensions \
--settings '{"commandToExecute": "apt-get install -y nginx"}
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
Reference:
https://docs.microsoft.com/en-us/azure/architecture/framework/devops/automation-configuration

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
mlantonis
Highly Voted 2 years ago
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
upvoted 185 times
ABhi101
1 year, 4 months ago
Thanks
upvoted 1 times
...
Takloy
1 year, 6 months ago
Thanks!
upvoted 2 times
...
Volh
11 months, 3 weeks ago
thanks !
upvoted 2 times
...
...
fedztedz
Highly Voted 2 years, 4 months ago
Answer is correct "B" with ARM templates, DSC is used.
upvoted 20 times
...
zellck
Most Recent 3 months, 3 weeks ago
Same as Question 67. https://www.examtopics.com/discussions/microsoft/view/67546-exam-az-104-topic-4-question-67-discussion
upvoted 1 times
...
zellck
3 months, 3 weeks ago
Selected Answer: B
B is the answer. https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-template
upvoted 2 times
...
Jamal786
6 months, 2 weeks ago
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
upvoted 4 times
...
F117A_Stealth
9 months ago
Selected Answer: B
B. A Desired State Configuration (DSC) extension
upvoted 1 times
...
EmnCours
9 months, 2 weeks ago
Selected Answer: B
Correct Answer: B
upvoted 2 times
...
devilcried
11 months, 1 week ago
Selected Answer: B
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
upvoted 3 times
...
Lazylinux
11 months, 2 weeks ago
Selected Answer: B
I Luv Honey because it is B Desired State Configuration (DSC) extension
upvoted 3 times
...
manalshowaei
12 months ago
Selected Answer: B
B. A Desired State Configuration (DSC) extension
upvoted 2 times
...
KIRANdxc
1 year, 1 month ago
Got his question in exam !!
upvoted 2 times
...
Olram
1 year, 1 month ago
Passed today. this is part of the exam. 4/23/22
upvoted 4 times
...
willt
1 year, 1 month ago
Correct
upvoted 1 times
...
ahyaa
1 year, 3 months ago
This question appeared in my exam today Feb 26, 2022, and I got 784! yay!! I passed!!! thank you, review buddies!!
upvoted 6 times
...
az4o2n
1 year, 4 months ago
Thank you so much, your contributions are highly valued
upvoted 1 times
...
pappkarcsiii
1 year, 4 months ago
Selected Answer: B
1. a Desired State Configuration (DSC) extension
upvoted 1 times
...
N4d114
1 year, 4 months ago
Correct answer is B : Desired State Configuration (DSC) extension
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...