Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AZ-900 topic 1 question 194 discussion

Actual exam question from Microsoft's AZ-900
Question #: 194
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 macOS and has PowerShell Core 6.0 installed.
  • B. a computer that runs Windows 10 and has the Azure PowerShell module installed.
  • C. a computer that runs Linux and has the Azure PowerShell module installed.
  • D. a computer that runs Linux and has the Azure CLI tools installed.
  • E. a computer that runs Chrome OS and uses Azure Cloud Shell.
Show Suggested Answer Hide Answer
Suggested Answer: ABE 🗳️
A PowerShell script is a file that contains PowerShell cmdlets and code. A PowerShell script needs to be run in PowerShell.
Reference:
https://docs.microsoft.com/en-us/powershell/scripting/components/ise/how-to-write-and-run-scripts-in-the-windows-powershell-ise?view=powershell-6 https://docs.microsoft.com/en-us/azure/cloud-shell/quickstart-powershell

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
stefano1856
Highly Voted 2 years, 10 months ago
A: wrong, you need Azure Powershell Module, Powershell only isn't enoght B: correct, you have Powershell and the module to create Azure resources C: correct, you have Powershell and the module to create Azure resources D: wrong, with Azure CLI you don't execute Powershell script E: correct, from a browser you can connect to Azure Portal and execute Azure Powershell comdlet
upvoted 206 times
Richard_M
2 years, 10 months ago
After long back and forth reading other responses, I have to agree with B,C,E. The prompt states "Which three computers can run the script?". The 3 mentioned, are the 3 best options AS IS that CAN run it. While A and D COULD run it with additional steps, that doesn't satisfy, in my opinion, the prompt
upvoted 19 times
realbunny
2 years, 9 months ago
If that argument holds, then all options are viable. As from Linux you can access the Azure portal to run the script.
upvoted 4 times
Michiel78
2 years, 9 months ago
You could have Linux without a shell installed, text only
upvoted 3 times
...
...
...
alexandru_chirita
2 years, 5 months ago
C is not correct. It doesn't say it also installed PowerShell on Linux (required). It only says about the PowerShell module.. How can you install a PowerShell module without PowerShell first? (not provided by Linux)
upvoted 10 times
Arsalan1001
1 year, 9 months ago
Can we install powershell module without powershell??
upvoted 8 times
zimzimzimma
8 months, 2 weeks ago
No, you cannot install a powershell module without powershell since the command to install powershell modules is a powershell command in itself: Install-Module. BCE is correct.
upvoted 3 times
...
...
orlandoryo
1 year, 1 month ago
You're overthinking. BCE are the correct answers, the other two would not work.
upvoted 4 times
imsidrai
1 year, 1 month ago
its not , what is CHROME OS ?
upvoted 1 times
soze
1 year, 1 month ago
it's an operating system (developed by google) like Linux, Windows and mac OS
upvoted 3 times
...
...
...
...
flaviolbrito
2 months, 2 weeks ago
verdade.. testei aqui é precisa do comando para instalar o módulo no powershell (só ele nao adianta). vide link: https://learn.microsoft.com/pt-br/powershell/azure/install-azps-macos?view=azps-11.2.0
upvoted 1 times
...
...
Saravana12g
Highly Voted 2 years, 10 months ago
Microsoft released the new AZ PowerShell module, and since then, that is the recommended way to connect to Microsoft Azure using PowerShell. When using MacOS and Linux, the PowerShell Core 6.x is the minimum requirement for that new module. A- Just having Powershell Core 6.0 is not enough- Need Powershell Module to be installed-NO B- Powershell Module Installed on Windows-YES C- Powershell Module Installed-YES D- NO E- Browser Cloudshell has Powershell Module installed by default-YES
upvoted 38 times
...
clever97
Most Recent 6 months ago
Voy por las opciones BCE. Se descarta la primera porque para ejecutar los scripts de Azure se necesita Azure PowerShell, la opción D puede ser valida pero el enunciado dice PowerShell por lo tanto en un SO Linux con el CLI no seria la opción.
upvoted 3 times
...
SAFM
6 months, 3 weeks ago
Selected Answer: BCE
- Azure Power shell module can be installed, configured, and used a a computer with Windows, Linux, or Mac OS. - Powershell can be accessed from the Azure cloud shell which can be accessed by opening the Azure portal from the Chrome browser, which is the main/default interface for the Chrome OS.
upvoted 1 times
...
SAFM
6 months, 3 weeks ago
BCE: - Azure Power shell module can be installed, configured, and used a a computer with Windows, Linux, or Mac OS. - Powershell can be accessed from the Azure cloud shell which can be accessed by opening the Azure portal from the Chrome browser, which is the main/default interface for the Chrome OS.
upvoted 1 times
...
Radhks
8 months ago
Had this question today....thanks
upvoted 3 times
...
2pk
8 months ago
Selected Answer: BCD
A: It doesn't have the Azure PowerShell module installed E: Chrome OS itself doesn't natively support PowerShell, but you can use Azure PowerShell and Azure CLI within Azure Cloud Shell. so answer B,C,D
upvoted 1 times
...
Goumaiti
8 months, 1 week ago
A, B and C correct. There is no Powershell installer for Chrome OS. https://learn.microsoft.com/en-us/powershell/azure/install-azure-powershell?view=azps-10.2.0
upvoted 1 times
...
Ajay_J
8 months, 2 weeks ago
Selected Answer: BC
A: wrong, you need Azure Powershell Module, Powershell only isn't enoght
upvoted 1 times
...
spyder47
9 months ago
Option A is wrong because although PowerShell can be utilized although, in windows the support is for PowerShell 5.0+ and for Linux, macOS & other OS the version of PowerShell should be 7.2+
upvoted 3 times
...
kagero
9 months, 1 week ago
I have a question about whether the options will be disrupted during the exam?
upvoted 1 times
...
krzysiek_sz5
9 months, 3 weeks ago
Was on today's exam. 910 , good luck :)
upvoted 1 times
...
Frns
10 months, 2 weeks ago
B,C,E The Az Azure PowerShell module is a cumulative module. Installing the Az PowerShell module downloads the generally available modules and enables use of their cmdlets. https://learn.microsoft.com/fr-fr/powershell/azure/install-azure-powershell?view=azps-10.0.0&viewFallbackFrom=azps-8.2.0
upvoted 1 times
...
Hoeishetmogelijk
11 months, 1 week ago
Selected Answer: BCE
A is wrong. The red flag is "PowerShell Core 6.0" because PowerShell version 7 or higher is required: https://learn.microsoft.com/en-us/powershell/azure/install-azps-macos?view=azps-9.7.1
upvoted 8 times
...
WH_313
1 year ago
Selected Answer: BCE
Agree.
upvoted 2 times
...
Rohit2023
1 year, 2 months ago
Selected Answer: BCE
Azure Powershell module needs to be installed, without which powershell scripts can't be executed. Just having Powershell Core 6.0 is not enough- Need Powershell Module to be installed. Note: Azure Powershell supports Microsoft, Linux, MacOS, but needs Azure Powershell to be installed.
upvoted 5 times
...
yosri_c_sharp
1 year, 3 months ago
I Think: A: False, PowerShell core not enough B: True C: True D:True, Azure Cli can execute Powershell commands E:False, Azure PowerShell is not supported by default for Chrome OS
upvoted 1 times
maddiganed
10 months, 3 weeks ago
D is not true because CLI itself is not enough to execute Powershell commands, you need also the Powershell module, which is not mentioned
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 ...