AZ-700 · Question #204
You have an Azure subscription that contains a virtual network named VNet1 and the virtual machines shown in the following table. All the virtual machines are connected to Vnet1. You need to ensure…
The correct answer is D. a public load balancer. To allow multiple virtual machines to be accessed from the internet through a single public IP address, a public load balancer is the appropriate solution.
Question
You have an Azure subscription that contains a virtual network named VNet1 and the virtual machines shown in the following table. All the virtual machines are connected to Vnet1. You need to ensure that the applications hosted on the virtual machines can be accessed from the internet. The solution must ensure that the virtual machines share a single public IP address. What should you use?
Exhibit
Options
- Aan internal load balancer
- BAzure Application Gateway
- Ca NAT gateway
- Da public load balancer
How the community answered
(27 responses)- A15% (4)
- B7% (2)
- C4% (1)
- D74% (20)
Why each option
To allow multiple virtual machines to be accessed from the internet through a single public IP address, a public load balancer is the appropriate solution.
An internal load balancer distributes traffic only within a virtual network and does not provide internet access.
Azure Application Gateway is a layer 7 load balancer specifically for HTTP/S traffic, and while it provides public access, a public load balancer is the more general solution for any application requiring shared public IP access.
A NAT gateway provides outbound internet access for virtual machines but does not allow inbound internet access to the VMs for hosted applications.
A public load balancer distributes incoming internet traffic across multiple backend virtual machines using a single public IP address, fulfilling the requirement for external access and IP sharing. It uses a frontend public IP configuration to receive traffic and load balancing rules to direct it to healthy backend instances.
Concept tested: Public internet access with shared IP
Source: https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-overview
Community Discussion
No community discussion yet for this question.
