az-900 Practice Question 195

Exam: az-900
Domain: Describe Azure management and governance
Topic: Describe features and tools for managing and deploying Azure resources
Difficulty: medium
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 the Azure portal, launch Azure Cloud Shell and select Bash. Run the command in Cloud Shell. Does this meet the goal?

Answer Options

A
Yes
B
No

Correct Answer

A: Yes

Explanation

The correct answer is Yes. It best satisfies the requirement described in the question and matches the Describe features and tools for managing and deploying Azure resources concept being tested.