Microsoft Azure Administrator — Question 39
Your company has two on-premises servers named SRV01 and SRV02. Developers have created an application that runs on SRV01. The application calls a service on SRV02 by IP address.
You plan to migrate the application on Azure virtual machines (VMs). You have configured two VMs on a single subnet in an Azure virtual network.
You need to configure the two VMs with static internal IP addresses.
What should you do?
Answer options
- A. Run the New-AzureRMVMConfig PowerShell cmdlet.
- B. Run the Set-AzureSubnet PowerShell cmdlet.
- C. Modify the VM properties in the Azure Management Portal.
- D. Modify the IP properties in Windows Network and Sharing Center.
- E. Run the Set-AzureStaticVNetIP PowerShell cmdlet.
Correct answer: C
Explanation
The correct answer is C, as modifying the VM properties in the Azure Management Portal is the appropriate way to set static internal IP addresses for Azure VMs. The other options either pertain to different settings or are not the correct method for assigning static IPs in an Azure environment.