Home / Microsoft / AZ-300 / Question 36

Prev Question
Next Question

Question 36

You need to change the public IP address for an Azure virtual machine (VM) named sn2-prod-091 to

How should you complete the command? Choose all that apply:



Explanation (click to expand)

You should call the Get-AzureVM cmdlet to retrieve an instance to the Azure VM. Next you should call the Set-AzureStaticVNetIP cmdlet to set the public static IP address of the virtual adapter assigned to that VM. Finally, you should call Update-AzureVM to update the changes.

You should not call Add-AzureRmVMNetworkInterface. This cmdlet adds a new virtual network interface to a VM.

You should not call New-AzureRmVMConfig. This cmdlet creates a configuration that can be used to update a VM. However, it does not actually update the VM.

References (click to expand)

Prev Question
Next Question

Load more