You administer an Azure virtual network named fabrikamVNet.
You need to deploy a virtual machine (VM) and ensure that it is a member of the fabrikamVNet virtual
network.
What should you do?
A.
Run the New-AzureVM Power Shell cmdlet.
B.
Run the New-AzureQuickVM Power Shell cmdlet.
C.
Run the New-AzureAfhnityGroup Power Shell cmdlet.
D.
Update fabrikamVNet’s existing Availability Set.
Explanation:
The New-AzureQuickVM cmdlet sets the configuration for a new virtual machine and creates the virtual
machine. You can create a new Azure service for the virtual machine by specifying either the Location or
AffinityGroup parameters, or deploy the new virtual machine into an existing service.New-AzureQuickVM
URL: http://msdn.microsoft.com/en-us/library/dn495183.aspx
Is correct
https://docs.microsoft.com/en-us/powershell/servicemanagement/azure.service/v2.1.0/new-azurequickvm
If I check new-azurequickvm parameters then there is no option for the VnetName, whereas with new-azurevm there is (https://docs.microsoft.com/en-us/powershell/module/azure/new-azurevm?view=azuresmps-4.0.0). Therefore I would go for answer A
Accept new-azurequickvm
-VNetName
Specifies the name of a virtual network for the virtual machine.
Type: String
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False