exam questions

Exam AZ-303 All Questions

View all questions & answers for the AZ-303 exam

Exam AZ-303 topic 1 question 42 discussion

Actual exam question from Microsoft's AZ-303
Question #: 42
Topic #: 1
[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 Azure policy.
  • C. Modify the extensionProfile section of the Azure Resource Manager template.
  • D. Create a new virtual machine scale set in the Azure portal.
  • E. Create an automation account.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
sien
Highly Voted 4 years ago
Shouldnt this me A and C? You upload a configuration script to e.g. storage, and then include it in the extension section?
upvoted 86 times
...
certmonster
Highly Voted 4 years 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 55 times
tita_tovenaar
3 years, 5 months ago
nothing in the question points at automation beyond this particular scale set. you just want to have iis on every vm that the scale set spins up. i think you make it way too complex with options like github for this purpose.
upvoted 2 times
...
anandpsg101
4 years ago
I too agree with A and C based on the document.
upvoted 11 times
...
Jcbrow27
3 years, 6 months ago
i'm agree with you A and C is correct. Create a scala set from azure portal is not an automation task
upvoted 4 times
...
rdemontis
3 years, 5 months ago
Thanks for clear explanation
upvoted 1 times
...
...
rxlicon
Most Recent 1 year, 3 months ago
The Custom Script Extension downloads and executes scripts on Azure VMs. You upload a configuration script to e.g. storage, and then include it in the extension section
upvoted 1 times
...
itvinoth83
2 years, 9 months ago
In Exam today, 28-02-2022
upvoted 1 times
...
shree178
2 years, 10 months ago
On exam today 19-2-2022.. Passed with 871.
upvoted 1 times
...
hanyahmed
2 years, 10 months ago
Selected Answer: AC
this is right answer
upvoted 2 times
...
JayBee65
2 years, 10 months ago
Since you use the the ARM template to create the scale set, you don't need to create it as a separate task, so D is not required
upvoted 1 times
...
jr_luciano
2 years, 11 months ago
In my opinion A and C are correct, and C and D are also correct. To use a custom script, you can point to a URL on GitHub for example, or point to a Storage Account, where you will need to upload the script. Just find out now, what Microsoft wants to "hear".
upvoted 2 times
...
Inland
2 years, 11 months ago
A, C is the most voted https://www.examtopics.com/exams/microsoft/az-104/view/10/
upvoted 1 times
...
Inland
2 years, 11 months ago
Option A,D is the most voted https://www.examtopics.com/exams/microsoft/az-104/view/10/
upvoted 1 times
...
plmmsg
2 years, 12 months ago
The answer is A & C
upvoted 1 times
...
Selected Answer: AC
A and C
upvoted 3 times
...
wantToPass
3 years, 3 months ago
My answer is also A & C. This question appeared in udemy too.
upvoted 4 times
...
syu31svc
3 years, 4 months ago
A and C to me 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 The Custom Script Extension downloads and executes scripts on Azure VMs. https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-template
upvoted 3 times
...
epic13131
3 years, 4 months ago
AC had this on AZ-104
upvoted 2 times
...
WChandra
3 years, 4 months ago
This is very confusing!! What's the Correct Answer ? I am sure about C only.
upvoted 1 times
...
AdityaGupta
3 years, 5 months ago
The answer should be C and D https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-template#create-custom-script-extension-definition A. Where would you upload the script? B. Azure policy won't help in Installation of IIS. C. Modifying the ARM template give you flexibility to change the extension profile. D. You can still use Azure Portal to "Deploy a custom template". E. Creation of automation account won't help with IIS installation on VM. If the question was about a single VM only, then you should have selected "Extensions" and used "Custom Data" to write a script.
upvoted 6 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