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 4 question 85 discussion

Actual exam question from APICS's CSCP
Question #: 85
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. Azure Custom Script Extension
  • B. Deployment Center in Azure App Service
  • C. the Publish-AzVMDscConfiguration cmdlet
  • D. the New-AzConfigurationAssignment cmdlet
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
zellck
Highly Voted 1 year, 9 months ago
Selected Answer: A
A 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 5 times
...
Naywonni
Most Recent 1 year, 9 months ago
I think A is the answer
upvoted 1 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 2 times
...
DeBoer
1 year, 9 months ago
Selected Answer: A
funny enough, in the first part of the set, the answer often was DSC for similar questions. Makes you wonder.
upvoted 1 times
xRiot007
1 year, 6 months ago
It can be any of the 2. Either use a an Azure custom script or a desired configuration script extension.
upvoted 2 times
...
...
Tim_May_88
1 year, 10 months ago
Same as question 79. Duplication in the questions is unfortunate. We paid to see a variety of different questions across all the subject matter domain. Please remove the duplicates.
upvoted 2 times
...
Notteb
1 year, 10 months ago
Selected Answer: A
A. Azure Custom Script Extension
upvoted 1 times
...
Ashfaque_9x
1 year, 10 months ago
Selected Answer: A
A. Azure Custom Script Extension
upvoted 1 times
...
khaled_razouk
1 year, 10 months ago
A. Azure Custom Script Extension
upvoted 1 times
...
buzzerboy
1 year, 10 months ago
There are two ways to ensure specific things are installed. One is by using DesiredStateConfiguration extension, and the other is by running a custom script along with a custom script extension. In this case the only available option is custom script. So A)
upvoted 2 times
buzzerboy
1 year, 10 months ago
It is not the *Publish-AzVMDscConfiguration cmdlet* because that cmdlet just "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." https://learn.microsoft.com/en-us/powershell/module/az.compute/publish-azvmdscconfiguration?view=azps-9.2.0
upvoted 2 times
...
...
Muffay
1 year, 10 months ago
On a second thought, it might also be "the Publish-AzVMDscConfiguration cmdlet". We can publish a DSC configuration with that one - but what is missing here is assigning the DSC configuration to the VMs. So I think A is still the more complete solution.
upvoted 1 times
...
Muffay
1 year, 10 months ago
Selected Answer: A
A is correct, a Custom Script extension can be used to install custom resources after a deployment.
upvoted 2 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 ...