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

Exam CSCP All Questions

View all questions & answers for the CSCP exam

Exam AZ-104 topic 5 question 99 discussion

Actual exam question from APICS's CSCP
Question #: 99
Topic #: 1
[All CSCP 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 Publish-AzVMDscConfiguration cmdlet
  • B. Azure Application Insights
  • C. Azure Custom Script Extension
  • D. the New-AzConfigurationAssignement cmdlet
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
mlantonis
Highly Voted 3 years, 6 months ago
Correct Answer: C 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 86 times
mlantonis
3 years, 6 months ago
Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-overview https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-template https://docs.microsoft.com/en-us/samples/mspnp/samples/azure-well-architected-framework-sample-state-configuration https://docs.microsoft.com/en-us/azure/architecture/framework/devops/automation-configuration
upvoted 14 times
...
...
waterzhong
Highly Voted 3 years, 11 months ago
C. Azure Custom Script Extension
upvoted 18 times
...
Amir1909
Most Recent 9 months ago
C is correct
upvoted 2 times
...
marioZuo
1 year, 4 months ago
Old friend
upvoted 5 times
Batiste2023
1 year ago
Exactly what I felt, after all these harsh networking questions...
upvoted 3 times
...
...
curtmcgirt
1 year, 9 months ago
i hope i get this question half as many times on the exam as it appears here.
upvoted 6 times
...
zellck
1 year, 9 months ago
Same as Question 89. https://www.examtopics.com/discussions/microsoft/view/95713-exam-az-104-topic-4-question-89-discussion
upvoted 1 times
...
zellck
1 year, 9 months ago
Selected Answer: C
C is the answer. https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows The Custom Script Extension downloads and runs scripts on Azure virtual machines (VMs). This extension is useful for post-deployment configuration, software installation, or any other configuration or management task. You can download scripts from Azure Storage or GitHub, or provide them to the Azure portal at extension runtime.
upvoted 2 times
...
Ashfaque_9x
1 year, 10 months ago
Passed today on 29Jan23 with a score of 970. This question was in the exam. Correct answers for this question: 1. a Desired State Configuration (DSC) extension 2. Azure Custom Script Extension
upvoted 4 times
...
EmnCours
2 years, 3 months ago
Selected Answer: C
Correct Answer: C
upvoted 1 times
...
Lazylinux
2 years, 5 months ago
Selected Answer: C
C is correct..see below A Desired State Configuration (DSC) extension 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 2 times
...
elmertar
2 years, 10 months ago
Selected Answer: C
C. Azure Custom Script Extension
upvoted 1 times
...
peymani
2 years, 10 months ago
support the correct answer "C" https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows
upvoted 1 times
...
peymani
2 years, 10 months ago
Selected Answer: C
The Publish-DscConfiguration cmdlet publishes a Windows PowerShell Desired State Configuration (DSC) configuration document on set of computers. This cmdlet does not apply the configuration. Configurations are applied by either the Start-DscConfiguration cmdlet when it is used with the UseExisting parameter or when the DSC engine runs its consistency cycle. https://docs.microsoft.com/en-us/powershell/module/psdesiredstateconfiguration/publish-dscconfiguration?view=dsc-1.1
upvoted 3 times
...
deltarj
2 years, 10 months ago
Selected Answer: C
I will go with ans C.
upvoted 2 times
deltarj
2 years, 10 months ago
if no DSC is offered than it is azCSE... right? (see Q59T4 and Q74T4)
upvoted 1 times
...
...
johnseong97
2 years, 10 months ago
Selected Answer: C
Correct Answer: C 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 1 times
...
JIGT
2 years, 11 months ago
Selected Answer: A
Publish-AzVMDscConfiguration cmdlet
upvoted 1 times
...
brunomd
2 years, 11 months ago
Correct is C. I thought that the correct was A, but does not, because of this: "The Publish-AzVMDscConfiguration cmdlet uploads a Desired State Configuration (DSC) script to Azure blob storage, which later can be applied to Azure virtual machines using the Set-AzVMDscExtension cmdlet."
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 ...