Forum Discussion
Need clarity on virtual machine deployments to subs
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)
Hi JeanineB007
I don't think there is a direct option to display a label with the Status Date. But you can try to draw a box and insert some text in the Gantt, and write the status date manually, in Gantt Chart Format > Drawings > Text Box,... and double click on the box to edit the format.
Ignacio
5 Replies
- kndekereCopper Contributor
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.
- muhammad_ahmodCopper ContributorHi 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,
- LuigiBrunoSteel Contributor
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?tabs=azure-powershell.Bye.
- Julian_SharpLearn ExpertFeedback on practice assessments here https://forms.office.com/r/FfvhScF5JS and challenge an individual item here https://aka.ms/PracticeTestFdbk
- muhammad_ahmodCopper ContributorThank you!