AZ-700 Question 23
Single answerYour organization hosts a production web application on Azure VMs using a Basic public IP address that is directly associated with the VM� network interface. The team wants to upgrade this IP address to a Standard SKU to leverage zone redundancy while minimizing downtime. What is the recommended method to accomplish this upgrade?
- A
Delete the Basic public IP address and create a new Standard public IP address with the exact same IP address to avoid downtime.
- B
Disassociate the Basic public IP address from the VM� network interface, upgrade the IP address to Standard SKU, then re-associate it to the network interface.
- C
Use PowerShell or CLI to directly change the SKU property from Basic to Standard without disassociating the IP address from the VM.
- D
Stop the VM, convert its SKU to Standard in Azure Portal, and start the VM again without disassociation.
Show answer and explanation
Correct answer: B
Explanation
When upgrading a Basic public IP to a Standard SKU, Azure� recommended practice is to disassociate the IP from all resources first, perform the upgrade, then re-associate the IP to the resource. This sequence ensures a minimal disruption in service. For more details, refer to the official Microsoft documentation on managing and upgrading public IP addresses in Azure.
- A. Incorrect.
Incorrect: You cannot simply delete the Basic IP and recreate a new IP with exactly the same address. Azure cannot guarantee you will get the same IP address after deletion, and this approach risks losing the original address and causing additional downtime.
- B. Correct.
Correct: According to Azure best practices, you must first disassociate the Basic IP from the resource before upgrading the SKU. Once upgraded to Standard, you can re-associate the same IP to the network interface to minimize downtime.
- C. Incorrect.
Incorrect: Azure requires disassociation of the IP from any active services before changing the SKU. Attempting to update the SKU of an associated IP is not supported and will fail.
- D. Incorrect.
Incorrect: Stopping the VM is not the correct procedure for upgrading the public IP SKU. You still must disassociate the IP address before you can change the SKU, and stopping the VM alone does not accomplish that.