Exam-Answer

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 13.65.243.111.

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

Answers



A B C D E

Advertisement

Explanation

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

Comments

Load more
Prev Question
Next Question