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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AZ-103 topic 3 question 25 discussion

Actual exam question from Microsoft's AZ-103
Question #: 25
Topic #: 3
[All AZ-103 Questions]

You plan to automate the deployment of a virtual machine scale set that uses the Windows Server 2016 Datacenter image.
You need to ensure that when the scale set virtual machines are provisioned, they have web server components installed.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Modify the extensionProfile section of the Azure Resource Manager template.
  • B. Create an automation account.
  • C. Upload a configuration script.
  • D. Create a new virtual machine scale set in the Azure portal.
  • E. Create an Azure policy.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️
Virtual Machine Scale Sets can be used with the Azure Desired State Configuration (DSC) extension handler. Virtual machine scale sets provide a way to deploy and manage large numbers of virtual machines, and can elastically scale in and out in response to load. DSC is used to configure the VMs as they come online so they are running the production software.
References:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-dsc

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
alfespa17
Highly Voted 3 years, 12 months ago
I think is A and C. Check this link https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-deploy-app
upvoted 16 times
...
senseibrutal
Highly Voted 3 years, 11 months ago
AD AE AC Come on guys dont spam around
upvoted 14 times
...
ShivaUdari
Most Recent 2 years, 4 months ago
So we don't need to upload the script ?
upvoted 1 times
...
clouddba
2 years, 10 months ago
Answers: A. Modify the extensionProfile section of the Azure Resource Manager template. C. Upload a configuration script.
upvoted 6 times
...
llyrosslau
2 years, 10 months ago
A. Modify the extensionProfile section of the Azure Resource Manager template. B. Create an automation account. C. Upload a configuration script. both need?
upvoted 2 times
...
PerfumoPeru
2 years, 11 months ago
A is for user. The other one, mmm. You can't create a vmss with a configuration script, in purpose of that you need a ARM template. There are no option for that, so the only near possibility is D. So answer is A & D
upvoted 1 times
...
Thi
3 years, 5 months ago
A. Modify the extensionProfile section of the Azure Resource Manager template. C. Upload a configuration script.
upvoted 7 times
...
Meedeh
3 years, 7 months ago
100% sure the answer is AC.
upvoted 3 times
...
arseyam
3 years, 7 months ago
The answer is A & C in the question it states that "You plan to automate the deployment of a virtual machine scale set that uses the Windows Server 2016 Datacenter image" D defeats the purpose of the automation requirement, so C is 100% correct. Install an app with the Custom Script Extension The Custom Script Extension downloads and executes scripts on Azure VMs. This extension is useful for post deployment configuration, software installation, or any other configuration / management task. Scripts can be downloaded from Azure storage or GitHub, or provided to the Azure portal at extension run-time. https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-deploy-app#already-provisioned Also check this https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-template#what-is-the-azure-custom-script-extension
upvoted 2 times
...
hstorm
3 years, 8 months ago
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-template I have to agree with original answer, but I'm not happy about the frase "automate deployment" as we are creating the scaleset manually in the portal. With given answers, I would go for A and D
upvoted 1 times
...
imnotabot
3 years, 8 months ago
This is a correct answer. You have to create a scaleset since one is not mentioned to have been created already. You also have to adjust the ARM extensionProfile to add the DSC. Found answer here https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-template?toc=/azure/virtual-machines/windows/toc.json
upvoted 1 times
...
Shades
3 years, 9 months ago
I think there are 2 ways to achieve this: 1) Is to do it through Custom Script Extension (A). It can specify the script location & the command to run 2) Store the Configuration File & specify the location in Azure Template (C). This is specifically used when you have some sensitive data like certificate ( If you like HTTPS in website) So You don't need to do both...but for 2nd one..u still need to use the custom script extension...I think the questions are not worded properly https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows
upvoted 3 times
OsimIndia
3 years, 3 months ago
totally agree wit you
upvoted 1 times
...
...
Shades
3 years, 9 months ago
I think there are 2 ways to achieve this: 1) Is to do it through Custom Script Extension (A). It can specify the script location & the command to run 2) Store the Configuration File & specify the location in Azure Template (C). This is specifically used when you have some sensitive data like certificate ( If you like HTTPS in website) So You don't need to do both...but for 2nd one..u still need to use the custom script extension...I think the questions are not worded propely
upvoted 2 times
...
Indiaa
3 years, 9 months ago
Please confirm A and C or A and D ?
upvoted 2 times
Rajat0702
3 years, 8 months ago
A and D
upvoted 2 times
...
...
ariahi
3 years, 9 months ago
All, I have done this. You can create a script, upload to Azure and have your VM execute the script after the VM is built. If you were doing thru CLI, you would do something like this : az vm extension set \ --resource-group $RESOURCEGROUP \ --vm-name simpleLinuxVM \ --name customScript \ --publisher Microsoft.Azure.Extensions \ --version 2.0 \ --settings '{"fileUris":["https://raw.githubusercontent.com/MicrosoftDocs/mslearn-welcome-to-azure/master/configure-httpd.sh"]}' \ --protected-settings '{"commandToExecute": "./configure-httpd.sh"}' This means you need to tell the VM to run a script and you need to tell the VM-template where the script is. My answer is : A and C
upvoted 8 times
...
raj10207
3 years, 9 months ago
Came in Exam , Exam given on 06.07.2020
upvoted 6 times
...
Shades
3 years, 9 months ago
A & C (Modify the extensionProfile section of the Azure Resource Manager template, Upload configurational script look correct https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-deploy-app
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 ...