You need to deploy a virtual machine (VM) and ensure that it is a member of the fabrikamVNet virtual network

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?

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



Leave a Reply 14

Your email address will not be published. Required fields are marked *


mrk

mrk

I would say A and B are correct

Pras

Pras

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 ] []

Pras

Pras

it is asking for only vnet ..So A too can be 🙂

AzureGuest

AzureGuest

Exactly… so, which one is the correct for the exam? Any ideas?

Arie

Arie

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.

TTTfreeTTT

TTTfreeTTT

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.

Sandeep

Sandeep

Answer B is correct –

New-AzureVM
Creates a new Azure virtual machine.

New-AzureQuickVM
Creates and provisions a new Azure virtual machine.

fred

fred

The answer is A or B
We don’t have enough information to be more selective

Erwen

Erwen

I think it’s B, because it’s a more complete solution. A is missing provisioning config.

Marc

Marc

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.

challenge

challenge

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

QuestionAsksForTwoAnswers

QuestionAsksForTwoAnswers

They ask for two answers, that are the complete solution…not just one.

Prady

Prady

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.