New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-900 Exam - Topic 2 Question 25 Discussion

Actual exam question for Microsoft's AZ-900 exam
Question #: 25
Topic #: 2
[All AZ-900 Questions]

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 PowerShell. Run the command in Cloud Shell.

Does this meet the goal?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

0/2000 characters
Charlene
4 months ago
Just to clarify, you need to use the right syntax for the command!
upvoted 0 times
...
Nana
4 months ago
Wait, can you really run CLI commands in PowerShell? Sounds off.
upvoted 0 times
...
Boris
4 months ago
Definitely a "Yes" for me! Easy way to create VMs.
upvoted 0 times
...
Rana
5 months ago
I think it should be "No," since it's PowerShell, not CLI.
upvoted 0 times
...
Oliva
5 months ago
Yes, that works! Cloud Shell supports Azure CLI.
upvoted 0 times
...
Stevie
5 months ago
I’m pretty sure the command is meant for Azure CLI, so using PowerShell might not meet the goal. I hope I remember that correctly!
upvoted 0 times
...
Patria
5 months ago
I feel like the command is valid, but I’m uncertain if it will run properly in PowerShell. I thought Azure CLI commands were typically run in Bash.
upvoted 0 times
...
Kaycee
5 months ago
I remember practicing a similar question where we had to use the Azure CLI. I think this command should work in the Cloud Shell, but I can't recall if it needs to be in Bash instead of PowerShell.
upvoted 0 times
...
Layla
5 months ago
I think using Azure Cloud Shell is the right approach, but I'm not sure if PowerShell is the correct shell for this command.
upvoted 0 times
...
Latrice
5 months ago
Okay, let's think this through step-by-step. I've got a strategy to tackle this.
upvoted 0 times
...
Daniela
5 months ago
Hmm, this seems like a tricky one. I'll need to carefully review the scenario and the exhibit to understand what's causing the traffic to take the overlay path instead of the underlay as expected. I think I'll start by looking at the routing and policy configurations to see if I can identify the issue.
upvoted 0 times
...

Save Cancel