An administrator is upgrading a legacy Azure virtual machine named VM1 to comply with modern Azure security and SKU support standards. VM1 is configured with a single network interface named nic1. The primary IP configuration of nic1 (ipconfig1) is associated with a legacy Basic SKU public IP address (PubIP1) that uses Dynamic allocation.
The administrator needs to assign a second public IP address to VM1 to support a new secure web service. They create a new Standard SKU public IP address named PubIP2. However, when attempting to associate PubIP2 with a new secondary IP configuration (ipconfig2) on nic1, the association fails with a SKU mismatch error.
Which configuration change should the administrator perform to resolve this error and successfully associate both public IP addresses with VM1?
- Change the allocation method of PubIP1 to Static, upgrade PubIP1 to the Standard SKU, and then associate PubIP2 with ipconfig2.Answer
- BCreate a second network interface named nic2, attach nic2 to VM1, and associate PubIP2 with the primary IP configuration of nic2.
- CModify the configuration of PubIP2 to use Dynamic allocation, and then associate it with ipconfig2.
- DDisassociate PubIP1 from ipconfig1, change the SKU of PubIP2 from Standard to Basic in the Azure portal, and then reassociate both IPs.