exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 1 question 15 discussion

Actual exam question from Microsoft's AZ-300
Question #: 15
Topic #: 1
[All AZ-300 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. Upload a configuration script.
  • B. Create an automation account.
  • C. Create a new virtual machine scale set in the Azure portal.
  • D. Create an Azure policy.
  • E. Modify the extensionProfile section of the Azure Resource Manager template.
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️
References:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-template

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
JohnAvlakiotis
Highly Voted 5 years, 3 months ago
A and E https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-deploy-app
upvoted 27 times
jwang
5 years, 1 month ago
I believe is A & E as well. E - You define file URIs in the extersionProfile section of the template. A - You need a place to store the script file(s). Reference: https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-template
upvoted 13 times
admins
4 years, 8 months ago
This is what I had too
upvoted 1 times
...
...
...
2cool2touch
Highly Voted 5 years, 4 months ago
C & E Look good. As the VM is native Azure image, it comes with the Azure VM agent on it that can be used to install and software. Custom scripts and extensions are needed when the default Azure VM agent is not enough. In this case, installing web server components is a native thing that can be done on the server so no custom script should be needed. https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/features-windows
upvoted 26 times
...
Chipper
Most Recent 4 years, 5 months ago
Man this is confusing and reading through the comments isn't helping lol. My take on it is that it is C and E as well. I know it says that it is trying to automate the deployment of the scale set but wouldn't you need a scale set to start? If you just upload the configuration script with all the settings in it, how does it what image to use? Can you specify that you want a 2016 image?
upvoted 1 times
...
Rajyahoo
4 years, 7 months ago
Question is "plan to automate the deployment of a virtual machine scale set " - THen we assume that this is done using ARM template. If you are creating from portal there is no automation. When you create an ARM template for VSS - You create a bash script and modify the template's extension profile to execute that bash where the install something like ngnix as webserver - This bash script must be uploaded so in azure for automation. Its A and E
upvoted 4 times
...
rsaz300
4 years, 7 months ago
When you define a virtual machine scale set with an Azure template, the Microsoft.Compute/virtualMachineScaleSets resource provider can include a section on extensions. The extensionsProfile details what is applied to the VM instances in a scale set. To use the Custom Script Extension, you specify a publisher of Microsoft.Azure.Extensions and a type of CustomScript.
upvoted 1 times
...
KsToff
4 years, 7 months ago
they have web server components is already installed. so C and E are correct.
upvoted 1 times
...
Ammugaa
4 years, 8 months ago
C & E are correct.
upvoted 1 times
...
slyBabs
4 years, 8 months ago
A and E is the correct answer
upvoted 4 times
andyR
4 years, 7 months ago
A = Powershell script to install Windows features E = Extension to tell deployment to execute A (install IIS)
upvoted 2 times
KsToff
4 years, 7 months ago
they have web server components is already installed. so no need powershell for feature
upvoted 1 times
...
...
...
MusicCityTiger
4 years, 8 months ago
A & C are correct... IF using DSC with the Scale Set, but they don't even mention DSC in the question, so... it's a badly expressed question.
upvoted 1 times
...
Yu001
4 years, 9 months ago
Yes, I'm for C&E. There should no other possibilities
upvoted 1 times
...
Harkonnen
4 years, 9 months ago
This question is tricky but the answer is CORRECT and here it is WHY. What the combination of the 2 answers implies is that you create the VMSS, then export it as a Resource Manager template. You add the webserver components to the template and then it is ready for automation.
upvoted 3 times
...
Pinzco
4 years, 10 months ago
C and E are correct.
upvoted 3 times
...
DeveshSolanki
4 years, 10 months ago
C. Create a new virtual machine scale set in the Azure portal. E. Modify the extensionProfile section of the Azure Resource Manager template.
upvoted 3 times
...
dumbu
4 years, 10 months ago
given answers [C&E] are correct. From the link provided When you define a virtual machine scale set with an Azure template, the Microsoft.Compute/virtualMachineScaleSets resource provider can include a section on extensions. The extensionsProfile details what is applied to the VM instances in a scale set. To use the Custom Script Extension, you specify a publisher of Microsoft.Azure.Extensions and a type of CustomScript.
upvoted 2 times
...
[Removed]
4 years, 10 months ago
The question is confusing. It asks "You plan to automate the deployment of a virtual machine scale set". But then why would I want to create the Scale Set manually in the portal (answer C)? I would provide an inline script as described here https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-deploy-vm-extensions#edit-the-template
upvoted 1 times
ExamWynner
4 years, 10 months ago
Agreed the concern of not clear about "automated the deployment", it just meant using template. C & E should be good.
upvoted 1 times
...
...
DheerAZ
4 years, 10 months ago
C & E are correct answers.
upvoted 1 times
...
NKnab
4 years, 11 months ago
c and e is correct. As per the new requirement, you will need a new scale set & in the template the new script will go under extension profile.
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