AZ-700 Question 176
Select 2You have deployed a Standard Public Load Balancer in a virtual network named VNet1 with a single front-end IP configuration. You need to add a second front-end IP address to handle traffic from a newly created subdomain (marketing.contoso.com). This traffic must be distributed to the same two Windows virtual machines (VMs) in the back-end pool, and only healthy VMs should receive any requests. Which two actions should you take to meet these requirements?
- A
Create a new front-end IP configuration on the Load Balancer and associate it with a separate public IP address.
- B
Configure an inbound NAT rule on the Load Balancer that maps the new public IP address to port 443 on each VM.
- C
Add a Load Balancing rule that references the new front-end IP configuration and the existing back-end pool.
- D
Delete your existing health probe and create a new one that specifically checks only the second front-end IP address.
Show answer and explanation
Correct answers: A, C
Explanation
To handle requests from a new subdomain using the same set of virtual machines behind an Azure Load Balancer, you should add a second front-end IP configuration (tied to its own public IP) and create a load balancing rule that references the second front-end IP and the existing back-end pool. Inbound NAT rules are typically used for direct VM access (e.g., RDP/SSH), not for distributing client traffic across multiple VMs. Health probes can be shared or duplicated as needed, but it is not necessary to remove the original one if its settings remain valid. For more details, see Azure Load Balancer documentation: https://learn.microsoft.com/azure/load-balancer/load-balancer-overview
- A. Correct.
Correct. You must create a second front-end IP configuration in the Load Balancer and link it to a new public IP resource for traffic from marketing.contoso.com. Each front-end IP represents a distinct address that can listen for incoming connections.
- B. Incorrect.
Incorrect. If you want to distribute traffic between multiple VMs, you typically use a Load Balancing rule instead of inbound NAT rules. NAT rules forward traffic to a specific VM and do not evenly distribute to a pool of back-end VMs by default.
- C. Correct.
Correct. You need a new Load Balancing rule that binds the new front-end IP configuration to your existing back-end pool. This allows the Load Balancer to distribute incoming connections from marketing.contoso.com to the same set of healthy VMs.
- D. Incorrect.
Incorrect. You do not need to delete your existing health probe. You can either reuse it if the same probe settings apply to both front-end IP configurations or create an additional probe for different ports or protocols. Deleting the original probe is not required.