exam questions

Exam AZ-203 All Questions

View all questions & answers for the AZ-203 exam

Exam AZ-203 topic 1 question 11 discussion

Actual exam question from Microsoft's AZ-203
Question #: 11
Topic #: 1
[All AZ-203 Questions]

DRAG DROP -
You are preparing to deploy an Azure virtual machine (VM)-based application. The VMs that run the application have the following requirements:
✑ When a VM is provisioned the firewall must be automatically configured before it can access Azure resources
✑ Supporting services must be installed by using an Azure PowerShell script that is stored in Azure Storage
You need to ensure that the requirements are met.
Which features should you use? To answer, drag the appropriate features to the correct requirements. Each feature may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
References:
https://docs.microsoft.com/en-us/azure/automation/automation-hybrid-runbook-worker https://docs.microsoft.com/en-us/azure/virtual-machines/windows/run-command

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
TechieBloke
Highly Voted 5 years, 5 months ago
firewall: run-command script: custom script extensions This capability is useful in all scenarios where you want to run a script within a virtual machine. It's one of the only ways to troubleshoot and remediate a virtual machine that doesn't have the RDP or SSH port open because of improper network or administrative user configuration. The Custom Script Extension downloads and executes scripts on Azure virtual machines. This extension is useful for post deployment configuration, software installation, or any other configuration or management tasks. Scripts can be downloaded from Azure storage or GitHub, or provided to the Azure portal at extension run time. The Custom Script Extension integrates with Azure Resource Manager templates, and can be run using the Azure CLI, PowerShell, Azure portal, or the Azure Virtual Machine REST API.
upvoted 35 times
divz_999
5 years, 4 months ago
Is this correct?
upvoted 1 times
Tee48
5 years, 1 month ago
Yes, It is. https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows
upvoted 1 times
...
...
Juanlu
4 years, 6 months ago
Agree !
upvoted 1 times
...
...
AK89
Highly Voted 5 years ago
Firewall : Run command 2nd point : Custom Script Extension as the scripts are stored in an Azure Storage Account. "Hybrid Runbook Worker" can be the case only if the scripts are stored in Azure Automation Account which is not the case here.
upvoted 11 times
AAAAAAAQQQ
4 years ago
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/run-scripts-in-vm
upvoted 1 times
...
...
meoukg
Most Recent 3 years, 3 months ago
Got it on 03/2022, I chose as Firewall configuration = Run command ; Supporting service scripts = Hybrid Runbook Worker
upvoted 1 times
...
bugimachi
4 years, 5 months ago
The question asks "WHEN a VM is PROVISIONED the firewall must be AUTOMATICALLY configured". But "Run Command" requires in manual invokcation (either via CLI or Portal), doesn't it? So does it really satisfy the requirement of automatic firewall configuration? I'd personally include it into a script and run it using the Custom Script Extension. What do you think?
upvoted 8 times
JulienYork
4 years, 5 months ago
Same here
upvoted 1 times
...
dluk
4 years, 4 months ago
But doesn't Custom Script Extension need an access to Azure resources? In the question it states that you need to configure firewall before accessing any Azure resources
upvoted 1 times
...
...
hertino
4 years, 10 months ago
Today I got 900, I had this question, my answer: Firewall configuration Run command Supporting service Custom script extension
upvoted 10 times
XtremeGraff
4 years, 1 month ago
How many study cases you had ?
upvoted 1 times
...
...
sathish11
4 years, 11 months ago
1. Run Command 2. Customer Script Extension
upvoted 2 times
...
Nanaboso2
5 years ago
From reading https://docs.microsoft.com/en-us/azure/virtual-machines/windows/run-scripts-in-vm I think "Custom Script Extension" as well as "Hybrid Runbook Worker" would work for snd. I would appreciate a clarification why "Hybrid Runbook Worker" is preferred a lot.
upvoted 2 times
...
wlfjck
5 years, 4 months ago
1. Run Command 2. Customer Script Extension
upvoted 9 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 ...