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.
Which two actions will achieve the goal? Each correct answer presents a complete solution.
A.
Run the following Azure PowerShell cmdlet: New-AzureRmVM
B.
Run the following Azure PowerShell cmdlet: New-AzureQuickVM
C.
Run the following Azure PowerShell cmdlet:New-AzureAfhnityGroup.
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 Azureservice for the virtual machine by specifying either the Location or
AffinityGroup parameters, or deploy the new virtual machine into an existing service.http://msdn.microsoft.com/en-us/library/dn495183.aspx
https://docs.microsoft.com/en-us/powershell/resourcemanager/azurerm.compute/v2.2.0/new-azurermvm