SOLVED

Need clarity on virtual machine deployments to subs

Copper Contributor

Hi,

The AZ-104 Practice assessment has a question on virtual machines. I believe the answer notes is incorrect/misleading. Can virtual machines be deployed directly to a subscription or management group?

The second sentence should read "You cannot deploy..."

(see attached screenshot)

az104-error.png

5 Replies
best response confirmed by muhammad_ahmod (Copper Contributor)
Solution
Feedback on practice assessments here https://forms.office.com/r/FfvhScF5JS and challenge an individual item here https://aka.ms/PracticeTestFdbk

Hello @muhammad_ahmod.

 

The question states that you have to use PowerShell to provision a virtual machine into a resource group by using an ARM template: the New-AzResourceGroupDeployment cmdlet is the correct answer according to the scope and the result you want to achieve.
Take a look at https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/deploy-to-resource-group?ta....

Bye.

@muhammad_ahmod what do you mean deployment to subs?? Am i the only one who has not understood this question? Someone please clarify for me if you will.

Hi @kndekere,

My question is "Need clarity on virtual machine deployments to subscriptions and management groups".

with regards to the provided screenshot specifically the notes contained in it. Can you deploy a virtual machine to a subscription or a management group directly?

thank you,
1 best response

Accepted Solutions
best response confirmed by muhammad_ahmod (Copper Contributor)
Solution
Feedback on practice assessments here https://forms.office.com/r/FfvhScF5JS and challenge an individual item here https://aka.ms/PracticeTestFdbk

View solution in original post