Exam: AZ-900: Microsoft Azure Fundamentals 0 Likes
Would you be able to run the script on a machine that has Chrome OS (AZ-900)
An administrator needs to run a script written in PowerShell. This script is going to create a virtual machine in Azure.
Would you be able to run the script on a machine that has Chrome OS installed and uses Azure Cloud Shell?
A) Yes.
B) No.
Solution
Correct answer: A) Yes.
The administrator would be able to run the PowerShell script to create a virtual machine in Azure using Azure Cloud Shell, even if the machine has Chrome OS installed. Azure Cloud Shell is a browser-based shell provided by Microsoft Azure that allows you to manage Azure resources directly from the Azure portal.
Azure Cloud Shell provides both Bash and PowerShell environments, and it is accessible through a web browser. Users can choose between Bash and PowerShell within the Cloud Shell to run scripts and execute commands.
In this scenario, the administrator can use the Azure Cloud Shell's PowerShell environment to run the PowerShell script for creating a virtual machine in Azure. The fact that the local machine is running Chrome OS is irrelevant, as the script execution and management of Azure resources occur within the Azure Cloud Shell environment.
To use Azure Cloud Shell, the administrator would need an Azure subscription and can access it through the Azure portal. Once in the Azure Cloud Shell, they can upload or create PowerShell scripts and execute them directly from the shell.
Category: Azure architecture and services
Language: English