Exam AZ-900 All QuestionsBrowse all questions from this exam
Question 194

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.

    Correct Answer: B, C, E

    To run a PowerShell script that creates Azure resources, the computer needs to have the capability to execute PowerShell and should ideally have the Azure PowerShell module installed. A computer running Windows 10 with the Azure PowerShell module installed can accomplish this task. Similarly, a computer running Linux with the Azure PowerShell module installed can also run the script. Lastly, using Azure Cloud Shell from any browser, including one on Chrome OS, allows executing Azure PowerShell cmdlets since Cloud Shell has the necessary modules pre-installed. A computer with macOS and only PowerShell Core 6.0 installed does not meet the requirements because it lacks the Azure PowerShell module needed to interact with Azure resources via PowerShell. Likewise, a computer with Linux and only the Azure CLI tools installed cannot run a PowerShell script as the Azure CLI is a different toolset.

Discussion
stefano1856Options: BCE

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

Richard_M

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

realbunny

If that argument holds, then all options are viable. As from Linux you can access the Azure portal to run the script.

Michiel78

You could have Linux without a shell installed, text only

alexandru_chirita

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)

Arsalan1001

Can we install powershell module without powershell??

zimzimzimma

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.

orlandoryo

You're overthinking. BCE are the correct answers, the other two would not work.

imsidrai

its not , what is CHROME OS ?

soze

it's an operating system (developed by google) like Linux, Windows and mac OS

flaviolbrito

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

Saravana12gOptions: BCE

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

HoeishetmogelijkOptions: 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

Rohit2023Options: 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.

clever97Options: BCE

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.

Radhks

Had this question today....thanks

spyder47Options: BCE

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+

SAFMOptions: 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.

WH_313Options: BCE

Agree.

Christian_garcia_martinOptions: ABE

I love how correct are bordered with green line and in Correct answer area says ABE

SAFMOptions: BCE

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.

2pkOptions: 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

GoumaitiOptions: ABC

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

Ajay_JOptions: BC

A: wrong, you need Azure Powershell Module, Powershell only isn't enoght

kagero

I have a question about whether the options will be disrupted during the exam?

krzysiek_sz5

Was on today's exam. 910 , good luck :)

FrnsOptions: BCE

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