exam questions

Exam AZ-303 All Questions

View all questions & answers for the AZ-303 exam

Exam AZ-303 topic 5 question 14 discussion

Actual exam question from Microsoft's AZ-303
Question #: 14
Topic #: 5
[All AZ-303 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: AE 🗳️

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
snobrega
Highly Voted 4 years, 4 months ago
I think is A E
upvoted 80 times
JasonHe
3 years, 10 months ago
AE is Correct. Udemy [AZ-303 Microsoft Azure Architect Technologies] has same question.
upvoted 4 times
...
gssd4scoder
4 years ago
Yeah, and I think it's repeated
upvoted 9 times
...
J4U
3 years, 8 months ago
I don't know where you upload it. But as per this article, create the VMSS with extension profile for updates. Given answer is correct. https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-powershell
upvoted 3 times
JayBee65
3 years, 3 months ago
If you read the article you will see that the custom script extension defines a script to be executed... $customConfig = @{ "fileUris" = (,"https://raw.githubusercontent.com/Azure-Samples/compute-automation-configurations/master/automate-iis.ps1"); "commandToExecute" = "powershell -ExecutionPolicy Unrestricted -File automate-iis.ps1" } So you need to upload the script...
upvoted 1 times
JayBee65
3 years, 3 months ago
Although it really all depends if you can find a script that is already available online, or if you create your own. If it's online, like the one above, then you don't need to upload it.
upvoted 1 times
...
...
...
...
widurr
Highly Voted 4 years, 4 months ago
Should be A and E. Question does not say to deploy a scale set, but to prepare for possible future deployment, and for that a script is needed (e.g. uploaded to a repo) and extension enabled in the ARM template.
upvoted 20 times
...
itvinoth83
Most Recent 3 years, 1 month ago
Appeared in exam on 28-03-2022
upvoted 1 times
...
sandeepmalik
3 years, 1 month ago
In today's exam. Score 900+ Correct answer. AE
upvoted 1 times
...
KemalM
3 years, 3 months ago
Selected Answer: AE
Upload a script and modify extensions profile
upvoted 1 times
...
Dawn7
3 years, 4 months ago
Selected Answer: AE
I will go with A&E
upvoted 1 times
...
plmmsg
3 years, 4 months ago
Answer is A & E
upvoted 1 times
...
cameltomato234
3 years, 4 months ago
I think CE is correct. You can automate Web server install using azure DSC which is configured using automation account and ARM template extension section. I tested it and it worked. For the custom script automation account is not required, therefore AE is not correct answer.
upvoted 2 times
...
ryuhei
3 years, 5 months ago
Selected Answer: AE
this answer
upvoted 4 times
...
student22
3 years, 7 months ago
A,E ---
upvoted 2 times
...
Wirefusion
3 years, 8 months ago
Given Answer seems correct as per https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-template A. Upload Script (does not specify where to upload) c correct as we will need to create the vm ss C & E seem to be correct
upvoted 5 times
...
ghostblind
3 years, 9 months ago
NOT A. it's not "configuration scripts". it's 'custom scripts' to install the app component. And, it's not "your action" to upload it . AZ can either download it from external source like 'github', and then az to upload to internal location like blob container wherever applicable. Credit to murongqing topic 1 question 42
upvoted 6 times
MasterArmSwitch
3 years, 7 months ago
Thanks :)
upvoted 1 times
...
...
AAPaul
3 years, 10 months ago
I had this question on the exam that i took on July 14th 2021
upvoted 2 times
...
DrewL
3 years, 10 months ago
AZ-104 exam on 2021 Jul 2
upvoted 2 times
...
azurellc
4 years ago
On exam 5/15/2021
upvoted 6 times
...
Entarch
4 years, 1 month ago
Though A and E seem to be the closest true options how is the automation part taken care of ?
upvoted 1 times
pentium75
3 years, 10 months ago
I think that is not part of this question ;) ... You can automate deployment later with an ARM template or with Azure CLI or Powershell or whatnot. But 'you want the VMs to have web server components installed' and that should happen automatically - and for that you need a configuration script, and you must reference that in the template.
upvoted 1 times
...
...
demonite
4 years, 2 months ago
AE correct VMSS still require a script if custom installs are to happen when scaling up or else the new VM will get the initial image.
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 ...