You manage a Windows Server 2016 virtual machine (VM) named VM1.
You need to configure an additional public IPv4 address for VM1.
Solution: From the VM's Networking blade, you click Attach network interface.
Does this solution meet the goal?
Complete the Case Study
This solution does not meet the goal. You can configure multiple public and private IP addresses to an Azure VM by modifying the IP configuration of its bound virtual network interface card. Because a network interface card can have more than one IP configuration, in this case you should add a second configuration and configure a new static IP address to that new configuration. Simply attaching another network interface does not guarantee that the additional interface has a public IP address associated with it.