Microsoft
AZ-900 · Question #265
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. Install Azure CLI on Windows: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli- latest&tabs=azure-cli You can now run the Azure CLI with the az command from either Windows Command Prompt or
Submitted by chen.hong· Mar 5, 2026Describe Azure Management and Governance
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. You have an Azure subscription named Subscription1. You sign in to the Azure portal and create a resource group named RG1. From Azure documentation, you have the following command that creates a virtual machine named VM1. az vm create --resource-group RG1 --name VM1 --image UbuntuLTS --generate-ssh-keys You need to create VM1 in Subscription1 by using the command. Solution: From a computer that runs Windows 10, install Azure CLI. From a command prompt, sign in to Azure and then run the command. Does this meet the goal?
Options
- AYes
- BNo
How the community answered
(51 responses)- A80% (41)
- B20% (10)
Explanation
Install Azure CLI on Windows: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli- latest&tabs=azure-cli You can now run the Azure CLI with the az command from either Windows Command Prompt or
Community Discussion
No community discussion yet for this question.