exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 29 discussion

Actual exam question from Microsoft's AZ-204
Question #: 29
Topic #: 2
[All AZ-204 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:

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
agueda
Highly Voted 4 years, 2 months ago
1. Run Command 2. Customer Script Extension Some question: https://www.examtopics.com/discussions/microsoft/view/12062-exam-az-203-topic-1-question-11-discussion/
upvoted 106 times
titombo
4 years, 2 months ago
On this link is showing the same as we have now, 1. Run Command and 2. Hybrid Runbook Worker
upvoted 3 times
...
BrettusMaximus
4 years, 1 month ago
Cant use run to configure firewall. The run command uses the VM OS but the VM does not have access at that point.
upvoted 2 times
fesioche
3 years, 9 months ago
The Run Command feature enables virtual machine and application management and troubleshooting using scripts, and is available even when the machine is not reachable, for example if the guest firewall doesn't have the RDP or SSH port open. Ref: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/run-scripts-in-vm#run-command
upvoted 10 times
...
...
pmsiva
4 years, 2 months ago
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.
upvoted 5 times
...
samraw83
2 years, 11 months ago
since you need to access the storage account for the services script for the installation you need the hybrid automation.
upvoted 1 times
...
...
mlantonis
Highly Voted 4 years ago
Box 1: Run Command This capability is useful in all scenarios where you want to run a script within a VM. It's one of the only ways to troubleshoot and remediate a VM that doesn't have the RDP or SSH port open, because of improper network or administrative user configuration. Box 2: Customer Script Extension 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 75 times
mlantonis
4 years ago
Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows https://docs.microsoft.com/en-us/azure/virtual-machines/windows/run-scripts-in-vm
upvoted 10 times
...
...
gebpt
Most Recent 11 months, 3 weeks ago
1. Customer Script Extension 2. Run Command Explanation (Chat GPT4o): Custom Script Extension: Can be used to run scripts after the VM is started, but it is typically used for initial configuration.Best suited for configuring the firewall during the VM creation process before it gains access to Azure resources. Run Command: Is more appropriate for running scripts that install supporting services on an already running VM. The script can be stored in Azure Storage and executed using 'Run Command'. Ideal for running scripts that install supporting services on an already running VM.
upvoted 1 times
...
manuelvigarcia
12 months ago
According to referred documentation, Hybrid Runbook Worker is retiring, cannot be instantiated anymore, and is advised to migrate to Extension-based Worker.
upvoted 1 times
...
nlk0
1 year, 11 months ago
Is it still relevant for az-204 since they removed VMs from scope from 28th april 2023
upvoted 2 times
macobuzi
1 year, 9 months ago
As someone has stated, the question appeared on 29th May 2023, which means it is still within the scope. But seriously, I don't care whether it is out of scope or not, I just study everything from Examtopic, better safe than sorry!
upvoted 10 times
...
...
nlk0
1 year, 11 months ago
is it still scope of az 204, since VMs were removed from scope in 28th april 2023?
upvoted 2 times
...
LuchoGonzalez
1 year, 11 months ago
1) Run command 2) Customer script extension(https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows)
upvoted 1 times
...
deathRac3
2 years ago
Question was there for me on 29th May 2023
upvoted 6 times
...
tom112
2 years ago
Azure Automation Agent-based User Hybrid Runbook Worker (Windows and Linux) will retire on 31 August 2024 https://learn.microsoft.com/en-us/azure/automation/automation-hybrid-runbook-worker
upvoted 1 times
...
KarthikCS
2 years, 1 month ago
Why are we tested on ridiculously low level details like this in these azure exams? It makes no sense. These AZ exams are the most senseless exams I've ever seen.
upvoted 8 times
...
PP2015
2 years, 2 months ago
Did my exam on 3/29/2023. This question was on it. Selected Run Command, Customer Script Extension. Score 850
upvoted 5 times
...
Esward
2 years, 4 months ago
Ru coomand, Custom Script Extensions are correct! https://learn.microsoft.com/en-us/azure/virtual-machines/windows/run-command
upvoted 1 times
...
narenazure
2 years, 4 months ago
1. Run 2. CSE (The Custom Script Extension downloads and runs scripts on Azure virtual machines (VMs). This extension is useful for post-deployment configuration, software installation, or any other configuration or management task. You can download scripts from Azure Storage or GitHub, or provide them to the Azure portal at extension runtime.)
upvoted 2 times
...
micro9000
2 years, 6 months ago
It should be 1. Run Command 2. Custom Script Extension because there is no hybrid setup mentioned on the question
upvoted 1 times
...
vcfvct
2 years, 7 months ago
Got this on 10/21/2022. went with Run/CSE
upvoted 3 times
...
coffecold
2 years, 8 months ago
firewall configuration : hybrid runbook worker suporting services : Custom Script Extension https://learn.microsoft.com/en-us/azure/virtual-machines/windows/run-scripts-in-vm firewall configuration : must be executed on the VM and eventually on the host machine and must be done automatically. suporting services : once access to the VM, it can be run using an ARM
upvoted 1 times
warchoon
2 years, 3 months ago
No Runbook worker - Requires manual installation - the firewall must be automatically configured
upvoted 1 times
...
...
Eltooth
2 years, 12 months ago
Run CSE
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 ...