exam questions

Exam AZ-900 All Questions

View all questions & answers for the AZ-900 exam

Exam AZ-900 topic 1 question 443 discussion

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

An Azure administrator plans to run a PowerShell script that creates Azure resources.

You need to recommend which computer configuration to use to run the script.

Which three computers can run the script? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

  • A. a computer that runs Windows 11 and has the Azure CLI tools installed
  • B. a computer that runs Linux and has the Azure CLI tools installed
  • C. a computer that runs macOS and has PowerShell Core 6.0 installed
  • D. a computer that runs Chrome OS and uses Azure Cloud Shell
  • E. a computer that runs Windows 10 and has the Azure PowerShell module installed
Show Suggested Answer Hide Answer
Suggested Answer: ADE 🗳️

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
Safwan5
Highly Voted 1 year, 6 months ago
Answer: ADE A: Windows PC has already powershell installed + Azure tools > valid D: Azure cloud shell supports both powershell and bash scripts > valid E: Windows PC already has powershell + azure module for powershell is installed > valid not B: Linux computer has azure modules installed but for CLI not for powershell > invalid not C: MacOS has powershell installed but azure modules for powershell is not > invalid
upvoted 26 times
...
Mole857
Highly Voted 11 months, 3 weeks ago
I think it's CDE. Option A) needs the Azure Powershell module installed, the CLI tools are not going to allow powershell to connect to azure and run a powershell script.
upvoted 5 times
...
Lanatxo
Most Recent 3 months, 1 week ago
Selected Answer: CDE
I think it's CDE.
upvoted 1 times
...
Super63
5 months, 4 weeks ago
I am going for CDE The question clearly asks for the use of Powershell. This is a repeat of question 194 of sorts * Azure CLI and Azure PowerShell are command-line tools that enable you to create and manage Azure resources. Both are cross-platform * Azure CLI is a tool to manage Azure resources through Azure CLI reference commands that run in both a Bash and PowerShell scripting language. However, there are slight syntax differences in parameter formatting between scripting languages that can result in unexpected results * So if there is a "slight difference" between the two, is there a "slight possibility" that the powershell script may not work and throw an error when using the Azure CLI tool? * The Azure CLI is available to install in Windows, macOS and Linux environments * Also note that C is NOT wrong. PowerShell Core 6.0 is a new edition of PowerShell that is cross-platform (Windows, macOS, and Linux) A. It is using Azure CLI tools - Yet it clearly wnats Powershell B. This would work but it asks for powershell C. This will work D. This will work E. This will work
upvoted 4 times
...
zswap
6 months, 2 weeks ago
I think it is CDE C - PowerShell Core is cross-platform and can run on macOS D - Azure Cloud Shell provides a browser-based shell experience that includes PowerShell. E - This configuration is directly compatible with running PowerShell scripts for Azure.
upvoted 1 times
...
jambroba
9 months ago
ADE C is wrong. in macOs would be "PowerShell 7.4" not "PowerShell Core 6.0" https://learn.microsoft.com/pt-br/powershell/scripting/install/installing-powershell-on-macos?view=powershell-7.4
upvoted 3 times
...
EhCloudGrrrU
11 months, 1 week ago
Selected Answer: ADE
ADE is correct fo sho
upvoted 1 times
...
liya1
1 year ago
got this question on 22nd
upvoted 1 times
...
piipo
1 year, 1 month ago
Selected Answer: ADE
ADE is Correct
upvoted 1 times
...
wolf1024
1 year, 4 months ago
Very similar question to 194, https://www.examtopics.com/exams/microsoft/az-900/view/20/ I agreed that answer should be ADE
upvoted 2 times
...
Discus_kt
1 year, 5 months ago
CDE: I know this is circular, but the previous questions 165, 167, and 191 support these choices. Each question has References. Also, Q194 is the same question with the same answer (and with references.)
upvoted 5 times
...
maciek8131
1 year, 5 months ago
Selected Answer: ADE
That's correct
upvoted 3 times
...
gijack88
1 year, 5 months ago
A, B, D From Microsoft Learn: In addition to be available via Azure Cloud Shell, you can install and configure Azure PowerShell on Windows, Linux, and Mac platforms. Powershell is not recommended for use with Azure below version 7.0
upvoted 1 times
...
Tester_TKK
1 year, 6 months ago
BCE according to Bing Chat. Quote: Based on these requirements, the correct answers are B, C, and E. A computer that runs Windows 11 and has the Azure CLI tools installed (A) cannot run PowerShell scripts unless it also has PowerShell and the Azure PowerShell module installed. A computer that runs Chrome OS and uses Azure Cloud Shell (D) can run PowerShell scripts in the browser, but it is not considered a local machine.
upvoted 1 times
Tester_TKK
1 year, 6 months ago
sorry I mistyped the answer. also Bing chat changes the answer in a different window
upvoted 1 times
...
...
SinaRamzi
1 year, 6 months ago
Selected Answer: ABE
A. a computer that runs Windows 11 and has the Azure CLI tools installed (Azure CLI can execute PowerShell scripts too) B. a computer that runs Linux and has the Azure CLI tools installed (Azure CLI can execute PowerShell scripts too) E. a computer that runs Windows 10 and has the Azure PowerShell module installed
upvoted 1 times
...
cicean
1 year, 7 months ago
need to be updated the MacOs Install a supported version of PowerShell version 7 or higher
upvoted 1 times
...
newbie
1 year, 7 months ago
A should consider ,.
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