Azure Administrator AZ-104 · Implement and Manage Virtual Networking · medium
An e-commerce platform runs on Azure VMs behind a load balancer. The architecture requires: (1) TLS/SSL termination at the load balancer, (2) URL path-based routing so /images/* routes to an image-rendering VM pool and /checkout/* routes to a payment VM pool, and (3) OWASP Core Rule Set Web Application Firewall (WAF) inspection. Which Azure load-balancing service meets all three requirements?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: B. Azure Application Gateway with the WAF_v2 autoscaling tier
Azure Application Gateway with the WAF_v2 SKU is a regional Layer 7 load balancer, so it understands HTTP and HTTPS requests rather than just TCP or UDP flows. It can terminate TLS at the gateway, evaluate URL path-based routing rules so that /images/* goes to one backend pool and /checkout/* goes to another, and run an integrated Web Application Firewall using the OWASP Core Rule Set. The WAF_v2 tier combines the v2 autoscaling gateway with WAF policy, so all three stated requirements are met by a single service. The key concept is the OSI layer at which each Azure service operates: anything that must read URL paths, decrypt TLS or inspect HTTP payloads for attacks such as SQL injection or cross-site scripting needs Layer 7. The common trap is choosing Azure Load Balancer because it is the default, familiar choice for VMs, or Traffic Manager because it sounds like it routes traffic by name, even though neither inspects requests.
Why the other options are wrong
- A. Azure Standard Load Balancer operating at Layer 4 (TCP/UDP) — Azure Standard Load Balancer is a Layer 4 service that distributes TCP and UDP flows using a five-tuple hash. It never reads URL paths, cannot terminate TLS and has no WAF capability, so it fails all three requirements.
- C. Azure Traffic Manager DNS-based global traffic routing — Traffic Manager is a DNS-based global traffic distribution service that returns endpoint names according to a routing method such as priority or performance. It is not in the data path, so it cannot terminate TLS, route by URL path or apply WAF rules.
- D. Azure NAT Gateway for outbound SNAT port translation — NAT Gateway provides outbound-only source network address translation for subnet resources so they can reach the internet with static public IPs. It does not load balance inbound traffic, route by URL or inspect requests with a WAF.
More Implement and Manage Virtual Networking questions
- A network engineer creates an Azure Virtual Network subnet with the IPv4 CIDR block 10.20.4.0/26. Accounting for the…
- You have three Azure Virtual Networks in a hub-and-spoke topology: VNet-Hub (which contains an Azure VPN Gateway…
- You deploy 4 backend Linux VMs in a private subnet (with no public IPs on the VM NICs) behind an Internal Standard…
- In a hub-and-spoke Azure Virtual Network, a spoke subnet (10.1.1.0/24) must send all internet-bound traffic…
- Two virtual networks — VNet-App (10.1.0.0/16) and VNet-DB (10.2.0.0/16) — are connected via VNet peering. You deploy…
- Instead of maintaining brittle IP address lists in Network Security Group (NSG) rules (10.1.0.4, 10.1.0.7…
All Implement and Manage Virtual Networking questions and the topic overview →
Microsoft and Azure are trademarks of Microsoft Corporation. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Microsoft Corporation.