You manage an Azure virtual network that hosts 15 virtual machines (VMs) on a single subnet, which is used
for testing a line of business (LOB) application. The application is deployed to a VM named
TestWebServiceVM.
You need to ensure that TestWebServiceVM always starts by using the same IP address. You need to achieve
this goal by using the least amount of administrative effort.
What are two possible ways to achieve the goal? Each correct answer presents a complete solution.
A.
Run the following Azure PowerShell cmdlet: Set-AzureStaticVNetIP
B.
Use the Azure portal to configure TestWebServiceVM.
C.
Run the following Azure PowerShell cmdlet: Get-AzureReservedIP
D.
Use RDP to configure TestWebServiceVM.
Explanation:
https://msdn.microsoft.com/en-us/library/azure/dn722490.aspx
This work for Classic VM.
For ARM:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-static-private-ip-arm-ps