AZ-104 Question 207
Single answerYou are managing a multi-tier application hosted in Azure that requires a single consistent public IP address for inbound traffic to a load balancer. You need to ensure the IP address does not change even when the resources are restarted. Which configuration best meets this requirement?
- A
Associate a Basic public IP address configured as Dynamic to the load balancer
- B
Configure a Standard public IP address set to Static for the front-end IP configuration
- C
Use an internal load balancer without a public IP address
- D
Enable an ephemeral public IP for the load balancer
Show answer and explanation
Correct answer: B
Explanation
When a resource requires a stable, public IP address in Azure, configuring a Standard public IP address with Static allocation ensures the IP remains unchanged through restarts or redeployments, fulfilling the scenario's need for consistent inbound connectivity.
- A. Incorrect.
Dynamic assignment for a Basic public IP address can change upon resource restarts, which does not meet the requirement for a consistent IP.
- B. Correct.
A Standard public IP address configured with a Static assignment guarantees the IP address will remain the same even during restarts.
- C. Incorrect.
An internal load balancer does not provide a public IP at all, so it cannot serve inbound traffic from external clients directly.
- D. Incorrect.
Ephemeral public IP addresses are temporary and not persistent, so they will not remain the same through resource redeployments.