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 165 discussion

Actual exam question from Microsoft's AZ-900
Question #: 165
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 4 years, 10 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 95 times
Nebula09
3 years, 9 months ago
You are correct given answer is incorrect. Answer is YES.
upvoted 5 times
...
Reddybo
3 years, 6 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
...
joondez
3 years, 9 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 47 times
...
Tolulee
4 years, 1 month ago
Because you can't install Powershell on Chrom OS, the Mac question gives this away
upvoted 6 times
Fcnet
4 years ago
that's wrong with azure cli you can and from cloud shell you can run a script too
upvoted 3 times
...
ConaxLearn
3 years, 10 months ago
No need to install PowerShell when running PowerShell script in Cloud Shell.
upvoted 12 times
...
...
...
MartinMystere
Highly Voted 4 years, 5 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 27 times
purav1009
4 years, 5 months ago
Yep. There's no mention of any web browser.
upvoted 4 times
...
lejozapata
4 years, 4 months ago
But is a complicated question, because they mentioned Azure Cloud Shell and Azure CS is accessed from a Browser
upvoted 7 times
...
shalobis
4 years, 1 month 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
3 years, 12 months ago
Chrome OS is a linux based OS different than chrome browser
upvoted 10 times
RockMAN
3 years, 8 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 4 times
...
...
...
SAFM
9 months ago
but it looks like Chrome browser is included anyway in ChromeOS
upvoted 1 times
...
...
Payu1994
Most Recent 2 months, 3 weeks ago
No, Chrome OS: While Chrome OS is lightweight and user-friendly, it is not natively designed for running PowerShell scripts. Chrome OS primarily relies on web-based applications and does not provide a native PowerShell environment.
upvoted 1 times
...
rakun
4 months, 2 weeks ago
First time hearing about Chrome OS
upvoted 1 times
...
Andrea20104
9 months ago
No, running the script from a computer that runs Chrome OS and uses Azure Cloud Shell is not a suitable configuration for running a PowerShell script to create Azure resources. Azure Cloud Shell is a web-based shell environment provided by Azure and is typically accessed through a web browser. It doesn't require you to install or configure any specific operating system on your local machine.
upvoted 1 times
...
JohannesV
1 year ago
Selected Answer: A
OS does not matter as you can use Azure
upvoted 1 times
...
AzZnLuVaBoI
1 year, 5 months ago
Selected Answer: A
The OS does not matter, since its running on the Cloud.
upvoted 2 times
...
Pinha
1 year, 5 months ago
Azure Cloud Shell is a browser-based shell that enables users to run a variety of tools, including PowerShell, from within the Azure portal. Using a computer that runs Chrome OS and uses Azure Cloud Shell would be a suitable configuration for running the PowerShell script
upvoted 1 times
...
jiriz
1 year, 7 months ago
Selected Answer: A
It OK.
upvoted 1 times
...
Pa1theAchiever
1 year, 12 months ago
option A
upvoted 1 times
...
raedon
2 years, 1 month ago
it's good that most of questions are clear and no tricks
upvoted 3 times
...
cormorant
2 years, 3 months 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 2 times
...
qwertq
2 years, 3 months ago
Valid answer
upvoted 1 times
...
qwertq
2 years, 3 months ago
LabbaLab vALID
upvoted 2 times
...
Caarol
2 years, 5 months ago
Correct answer
upvoted 1 times
...
AliD68
2 years, 7 months ago
So after reading all your comments, the conclusion is that the answer is either YES or NO :(
upvoted 3 times
Harry28731
2 years, 6 months 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 2 times
...
...
AbbeyJ
2 years, 7 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
...
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 ...