exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 4 question 67 discussion

Actual exam question from Microsoft's AZ-104
Question #: 67
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. the New-AzConfigurationAssignment cmdlet
  • B. a Desired State Configuration (DSC) extension
  • C. Azure Active Directory (Azure AD) Application Proxy
  • D. Azure Application Insights
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
reddragondms
Highly Voted 3 years, 1 month 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 30 times
...
olsenOnS
Highly Voted 3 years, 2 months ago
B. a Desired State Configuration (DSC) extension
upvoted 11 times
...
Infraestructura
Most Recent 1 month, 3 weeks ago
Selected Answer: B
B la pregunta está en el Learn y en Udemy.
upvoted 1 times
...
2d153f5
3 months, 2 weeks ago
I'm just here for the comments.
upvoted 1 times
...
fuchsm999
2 years ago
Selected Answer: B
B is correct
upvoted 2 times
...
vbohr899
2 years ago
Cleared Exam today 26 Feb, This question was there in exam.
upvoted 3 times
...
zellck
2 years ago
Selected Answer: B
B is the answer. https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-template
upvoted 2 times
...
omgMerrick
2 years ago
Selected Answer: B
Answer is correct: B. a Desired State Configuration (DSC) extension A Desired State Configuration (DSC) extension is a way to configure virtual machines in Azure using PowerShell DSC. You can use a DSC extension to automate the installation of NGINX on the virtual machines in your scale set as part of the deployment process. This will ensure that NGINX is available on all virtual machines after they are deployed, and it will also help you maintain consistency in your configuration. To use a DSC extension, you would include the configuration in your Azure Resource Manager template and specify the extension in the deployment process.
upvoted 1 times
...
meeko86
2 years, 2 months ago
Selected Answer: B
Correct 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"}
upvoted 1 times
...
EmnCours
2 years, 6 months ago
Selected Answer: B
Correct Answer: B
upvoted 1 times
...
InvisibleShadow
2 years, 12 months ago
This question came in the exam today 8/Mar/2022. I passed the exam, 95% questions came from here.
upvoted 5 times
...
Empel
3 years ago
Question 59 was the same, is repeated. Desired State Configuration (DSC) extension by the way
upvoted 6 times
...
JIGT
3 years, 2 months ago
Publish-AzVMDscConfiguration
upvoted 1 times
...
blockhead72
3 years, 2 months ago
Correct. B.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago