AZ-104 Question 206
Single answerYour company hosts a web application on multiple Azure VMs placed behind an Azure Load Balancer. You notice that the public IP address keeps changing whenever the load balancer is recreated, causing issues with external partners who need to whitelist your IP. Which configuration step should you take to ensure a consistent, unchanging public IP address for the application?
- A
Assign each individual VM its own dynamic Public IP address
- B
Configure a Static Public IP address on the Load Balancer front-end
- C
Use only private IP addresses for the VMs and rely on Azure DNS
- D
Configure an Application Gateway with a private front-end IP and no Public IP address
Show answer and explanation
Correct answer: B
Explanation
To maintain a consistent, unchanging IP for external access, you must configure a static Public IP on the Load Balancer’s front-end. This ensures partners and external services can reliably whitelist the application’s public endpoint.
- A. Incorrect.
Using a dynamic Public IP for each VM does not guarantee a single, static entry point for external partners; the addresses can change.
- B. Correct.
Configuring a static Public IP address on the Load Balancer front-end ensures the public point of contact remains fixed, which is ideal for external whitelisting.
- C. Incorrect.
Using only private IP addresses would remove direct public access to your application, which fails to resolve external connectivity needs.
- D. Incorrect.
An Application Gateway with only a private front-end IP would make the application inaccessible from the internet without additional configured services.