Azure Fundamentals AZ-900 Practice Test 2

© examsiri.com
Question : 14 of 25
 
Marks: +1, -0
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 the Azure portal, launch Azure Cloud Shell and select PowerShell. Run the command in Cloud Shell.
Does this meet the goal?
Go to Question: