You have an Azure subscription that contains a virtual machine named VM1 and a Basic Load Balancer named LB1. VM1 is currently associated with the backend pool of LB1. You need to assign a public IP address directly to the primary network interface (NIC) of VM1 to allow direct external access for management. Which configuration should you select for the new public IP address?
- A Basic SKU public IP address with Dynamic allocationAnswer
- BA Standard SKU public IP address with Static allocation
- CA Standard SKU public IP address with Dynamic allocation
- DA Basic SKU public IP address with zone-redundant availability
Answer
A Basic SKU public IP address with Dynamic allocation
The correct configuration is a Basic SKU public IP address with Dynamic allocation. Since the virtual machine is currently associated with a Basic Load Balancer, any public IP address directly attached to the virtual machine's network interface must match the load balancer's SKU. Basic SKU public IPs support both Dynamic and Static allocation methods, making this configuration valid.
Step-by-Step Solution
Key Concept
SKU alignment and compatibility rules for Azure Public IP addresses and Load Balancers
Estimated Time:1m 30s