nerdexam
Microsoft

AZ-900 · Question #266

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 h

The correct answer is A. Yes. A PowerShell script is a file that contains PowerShell cmdlets and code. A PowerShell script needs to be run in PowerShell. In this question, the computer has the Azure PowerShell module installed. Therefore, this solution does meet the goal. https://docs.microsoft.com/en-us/powe

Submitted by lars.no· Mar 5, 2026Secure compute, storage, and databases

Question

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 Windows 10 and has the Azure PowerShell module installed. Does this meet the goal?

Options

  • AYes
  • BNo

How the community answered

(35 responses)
  • A
    80% (28)
  • B
    20% (7)

Explanation

A PowerShell script is a file that contains PowerShell cmdlets and code. A PowerShell script needs to be run in PowerShell. In this question, the computer has the Azure PowerShell module installed. Therefore, this solution does meet the goal. https://docs.microsoft.com/en-us/powershell/scripting/components/ise/how-to-write-and-run- scripts-in-the-windows-powershell-ise?view=powershell-6

Topics

#PowerShell#Azure Cloud Shell#script execution#Azure management

Community Discussion

No community discussion yet for this question.

Full AZ-900 Practice