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

Exam AZ-900 topic 1 question 99 discussion

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

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
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.
Solution: Run the script from a computer that runs Chrome OS and uses Azure Cloud Shell.
Does this meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
A PowerShell script is a file that contains PowerShell cmdlets and code. A PowerShell script needs to be run in PowerShell.
With the Azure Cloud Shell, you can run PowerShell cmdlets and scripts in a Web browser. You log in to the Azure Portal and select the Azure Cloud Shell option.
This will open a PowerShell session in the Web browser. The Azure Cloud Shell has the necessary Azure PowerShell module installed.
Note: to run a PowerShell script in the Azure Cloud Shell, you need to change to the directory where the PowerShell script is stored.
References:
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
vanr2000
Highly Voted 2 years, 9 months ago
This is totally valid. Run the script from a computer that runs Chrome OS and uses Azure Cloud Shell to run Powershell scripts fo razure. Why doesn't meet the needs?
upvoted 80 times
joondez
1 year, 8 months ago
Many people think this is a trick question because you cannot install CLI onto Chrome OS. However, I think this question is way more straightforward. You can use Cloud Shell in the Chrome browser. This works on all OS. This question is being used to demonstrate that the Cloud Shell can run on all OS.
upvoted 44 times
...
Reddybo
1 year, 5 months ago
The PS script should be already uploaded to the Azure Storage to be able to run it from the Cloud Shell.. Is it already uploaded? We don't know that.. It's only says to run the script from the computer, and not from the Azure portal..
upvoted 4 times
...
codeoptimus
1 year, 8 months ago
The answer should YES. cos no matter the OS specification as long as you have a browser application installed. The azure portal(Cloudshell) gives you the liberty of running commands in Bash or Powershell environment. It also have all the modules need installed.
upvoted 11 times
...
Nebula09
1 year, 8 months ago
You are correct given answer is incorrect. Answer is YES.
upvoted 5 times
...
...
MartinMystere
Highly Voted 2 years, 4 months ago
I have read all the comments and I believe everybody missed the point. The question states Chrome OS and not Chrome Web Browser. https://www.google.com/chromebook/chrome-os/
upvoted 24 times
shalobis
2 years ago
I think it is easy to get carried away. The fact that Chrome is NOT an OS (Operating System), in itself makes the statement Wrong. So for me the ans to this is B.
upvoted 4 times
Rainman
1 year, 10 months ago
Chrome OS is a linux based OS different than chrome browser
upvoted 9 times
RockMAN
1 year, 7 months ago
Chrome OS is a Gentoo Linux–based operating system designed by Google. It is derived from the free software Chromium OS and uses the Google Chrome web browser as its principal user interface
upvoted 3 times
...
...
...
lejozapata
2 years, 3 months ago
But is a complicated question, because they mentioned Azure Cloud Shell and Azure CS is accessed from a Browser
upvoted 7 times
...
purav1009
2 years, 4 months ago
Yep. There's no mention of any web browser.
upvoted 4 times
...
...
cormorant
Most Recent 2 months, 1 week ago
while you can't run PS from azure CLI tools, there's no issue running it from azure cloud shell that's what i learnt from these questions anyway
upvoted 1 times
...
qwertq
2 months, 2 weeks ago
Valid answer
upvoted 1 times
...
qwertq
2 months, 2 weeks ago
LabbaLab vALID
upvoted 2 times
...
Caarol
4 months ago
Correct answer
upvoted 1 times
...
AliD68
6 months ago
So after reading all your comments, the conclusion is that the answer is either YES or NO :(
upvoted 2 times
Harry28731
5 months, 3 weeks ago
Yes, you need to understand the question logic. It's too prove that even though you can't have azure CLI or powershell on Chrome OS computers, you can still do your job (by using Cloud Shell which is available from Azure Portal through the web browser). Any other comment is just misleading because they are picky.
upvoted 1 times
...
...
AbbeyJ
6 months ago
The correct answer is YES. You can open azure portal from any OS browser, therefore you can Run the script from a computer that runs ChromeOS and use Azure Cloud Shell.
upvoted 1 times
...
mikamozg
6 months, 1 week ago
i think Microsoft wants us to understand and accept one particular thing. It doesn't matter what OS you have , but if you have browser based cli or powershell you will be able to achieve it. ignore OS. azure cloud shell by itself means that browser will be used. concentrate on azure cloud shell. for me it is YES
upvoted 1 times
...
Imran_Md
6 months, 4 weeks ago
I think the answer is YES because Chrome OS is a Gentoo Linux-based operating system designed by Google. It is derived from the free software Chromium OS and uses the Google Chrome web browser as its principal user interface so through the WEB browser we can get access to the Azure Portal and perform our tasks.
upvoted 1 times
...
Sarahxx
10 months, 1 week ago
appeared 18th July 2021
upvoted 4 times
...
Rohitbmenon
10 months, 2 weeks ago
Yes it is
upvoted 1 times
...
vakkil
10 months, 3 weeks ago
I guess most of you are missing the point that questions says they need to run the script and not just the powershell command. If you locally have the script, it would need to be uploaded to cloud before it can be executed. I believe the answer should be NO.
upvoted 2 times
...
Burbulas
10 months, 3 weeks ago
Question does not specify if Cloudshell has PS module installed, therefore PS scripts can only be ran by PS
upvoted 1 times
...
sudheerdhawangis
10 months, 3 weeks ago
powershell ok with azureshell poweshell not ok cli
upvoted 1 times
...
wmlead
11 months ago
answer is no
upvoted 1 times
...
Huawei_55
11 months, 4 weeks ago
Yes - I think it meets the requirements. The confusion here for some was that there is chrome OS which is an operating system developed by Google not a browser. But in any case you can run the script ,once you have cloudshell .Check here https://docs.microsoft.com/en-us/azure/cloud-shell/overview#:~:text=Azure%20Cloud%20Shell%20is%20an,work%2C%20either%20Bash%20or%20PowerShell.
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 ...