
Answer-first summary for fast verification
Answer: Apply the Set-AzureStaticVNetIP cmdlet.
The correct answer is E. To configure static internal IP addresses for Azure VMs, you should use the Set-AzureStaticVNetIP PowerShell cmdlet. This cmdlet allows you to set the static IP address for a VM in an Azure virtual network. This ensures that the VM will always have the same internal IP address, which is necessary for applications that rely on fixed IP addresses. Other options like modifying VM properties in the Azure Management Portal or changing settings in Windows Network and Sharing Center do not provide a method to set a static internal IP in the Azure virtual network.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
In a migration of an application from on-premises servers to Azure VMs, how can you assign static internal IP addresses to the VMs within the same subnet of an Azure virtual network?
A
Utilize the New-AzureRMVM cmdlet.
B
Execute the Set-AzureSubnet cmdlet.
C
Adjust settings via the Azure Management Portal.
D
Change configurations in Windows Network and Sharing Center.
E
Apply the Set-AzureStaticVNetIP cmdlet.