You have an Azure subscription that has a virtual machine named VM1. VM1 runs a line-of-business
application named APP1.
You create two additional virtual machines named VM2 and VM3 to host APP1
You need to ensure that there is always at least one virtual machine online to host App1.Which command should you run? To answer, select the appropriate options in the answer area.
A.
Export-AzureVM
B.
Get-AzureaffinityGroup
C.
Get-AzureEndPoint
D.
Get-AzureVM
I think correct answer is C and D, for example to get endpoints of VM:
Get-AzureVM -ServiceName $VMServiceName.ServiceName -Name $VMServiceName.Name | Get-AzureEndpoint
The question says:
“select the appropriate optionS in the answer area”
Maybe you can select both in a official test.
I think you’re right.
https://docs.microsoft.com/en-us/powershell/module/azure/get-azureendpoint?view=azuresmps-4.0.0
how come a get- commandlet can ensure that a VM will be always online? Does this question make any sense?
YOu use get to get the VM config and then you get the endpoint which you then use to export or whatever to the two new VM’s to basically clone them.
Ridiculous question, must be missing some content.
lol definitely a stupid question.