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:
http://msdn.microsoft.com/en-us/library/dn495183.aspx
I would say A and B are correct
It is B
PS C:\> Get-Help New-AzureVM
SYNTAX
New-AzureVM -ServiceName -VMs [-DeploymentLabel ] [-DeploymentName ] [-VNetName ] [-DnsSettings ] [-InternalLoadBalancerConfig ] [-WaitForBoot] [-ReservedIPName ] []
PS C:\> Get-Help New-AzureQuickVM
SYNTAX
New-AzureQuickVM -Windows -ServiceName -ImageName [-Name ] [-Password ] [-ReverseDnsFqdn ] [-Location ] [-AffinityGroup ] [-AdminUsername ] [-Certificates] [-WaitForBoot] [-DisableWinRMHttps] [-EnableWinRMHttp] [-WinRMCertificate] [-X509Certificates ] [-NoExportPrivateKey] [-NoWinRMEndpoint] [-VNetName
] [-SubnetNames ] [-DnsSettings ] [-HostCaching {ReadWrite | ReadOnly}] [-AvailabilitySetName ] [-InstanceSize ] [-MediaLocation ] [-DisableGuestAgent] [-CustomDataFile ] [-ReservedIPName ] []
it is asking for only vnet ..So A too can be 🙂
Exactly… so, which one is the correct for the exam? Any ideas?
Both A and B are correct, therefore we need to look at which would be the best answer. Answer B is the correct answer then, as it provides you with more parameters to set than answer A does, allowing you to configure more elements when deploying a new VM.
You are right, A and are correct. For me the Exam espected best answer is A : It takes us less administrative effort and less time to accomplish the new VM.
Answer B is correct –
New-AzureVM
Creates a new Azure virtual machine.
New-AzureQuickVM
Creates and provisions a new Azure virtual machine.
The answer is A or B
We don’t have enough information to be more selective
I think it’s B, because it’s a more complete solution. A is missing provisioning config.
Definitely B (New-AzureQuickVM), it says here https://msdn.microsoft.com/en-us/library/azure/dn495183.aspx that “The New-AzureQuickVM cmdlet sets the configuration for a new virtual machine and creates the virtual machine” and also has the option to use the option to specify “VNetName” from the same cmdlet.
A typically stupid and pointless Microsoft exam question… as both technically correct – however the answer is B as Marc says.
New-AzureQuickVM
Single VM with a simple configuration based on an image only, availability set name, subnet and virtual network, location and affinity group, x509 certificates and SSH certificates on Linux VMs
I agree.
You can do the complete exam free online and see the solutions
http://exam-test-ms-70-533.azurewebsites.net/
Regards
They ask for two answers, that are the complete solution…not just one.
Both cmdlets have the VNetName parameter. The diff is that New-AzureQuickVM has several more parameter options and provisions the VM as well. The question is faulty as it doesn’t provide enough to narrow down.