AZ-305 · Question #450
You have an Azure subscription that contains a virtual network named VNet1. VNet1 contains three virtual machines that host a web app named App1. The virtual machines are assigned only private IP addr
The correct answer is D. Azure Application Gateway. An Azure Application Gateway is ideal for distributing traffic to private VMs running a web app, using a dedicated subnet within your VNet, providing internal load balancing and SSL termination while keeping the app private, which minimizes cost compared to public-facing solution
Question
Options
- AAzure Front Door
- BAzure Traffic Manager
- CAzure Firewall
- DAzure Application Gateway
How the community answered
(21 responses)- A5% (1)
- B14% (3)
- C5% (1)
- D76% (16)
Explanation
An Azure Application Gateway is ideal for distributing traffic to private VMs running a web app, using a dedicated subnet within your VNet, providing internal load balancing and SSL termination while keeping the app private, which minimizes cost compared to public-facing solutions like front doors or public IPs on VMs, offering efficient, secure, internal traffic management. Key Components & Setup: Azure Virtual Network (VNet): Your isolated cloud network where all resources reside. Virtual Machines (VMs): Three VMs with only private IP addresses within a VNet subnet, hosting your web app instances (e.g., as a scale set or individual VMs). Dedicated Application Gateway Subnet: A separate, dedicated subnet in your VNet is required for the Application Gateway itself; no other resources can live there. Application Gateway: Deployed into that dedicated subnet, it acts as the internal load balancer. Backend Pool: The App Gateway's backend pool points to the private IPs of your three VMs. Listeners & Rules: Configure an internal listener (no public IP needed) on the App Gateway, routing traffic (e.g., HTTP/S) to the VMs via HTTP settings. https://learn.microsoft.com/en-us/azure/application-gateway/configuration-infrastructure
Community Discussion
No community discussion yet for this question.