ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 309 - AZ-900 discussion

Report
Export

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
Answers
A.
Yes
B.
No
Answers
B.
No
Suggested answer: A

Explanation:

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

asked 02/10/2024
Francesco Balducci
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first