easymultiple choiceObjective-mapped

A company deploys a web application on multiple Azure virtual machines (VMs) in a single region. The application receives HTTP and HTTPS traffic. They need to distribute the traffic across the VMs, offload SSL/TLS termination, and ensure that client requests from the same user session are always sent to the same backend VM (session persistence). Additionally, they need to route requests based on URL paths (e.g., /api/* to one pool, /images/* to another). Which Azure load balancing solution should they use?

Question 1easymultiple choice
Full question →

A company deploys a web application on multiple Azure virtual machines (VMs) in a single region. The application receives HTTP and HTTPS traffic. They need to distribute the traffic across the VMs, offload SSL/TLS termination, and ensure that client requests from the same user session are always sent to the same backend VM (session persistence). Additionally, they need to route requests based on URL paths (e.g., /api/* to one pool, /images/* to another). Which Azure load balancing solution should they use?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

Azure Load Balancer

Azure Load Balancer operates at layer-4 (TCP/UDP) and does not support SSL termination, URL-based routing, or session persistence based on application cookies.

B

Best answer

Azure Application Gateway

Application Gateway is a layer-7 load balancer that supports SSL termination, cookie-based session affinity, and URL path-based routing to multiple backend pools.

C

Distractor review

Azure Front Door

Front Door is a global layer-7 load balancer and CDN. While it supports SSL offload and session affinity, it is designed for multi-region distribution and may introduce unnecessary latency for single-region use. It is not the optimized choice for a single-region scenario.

D

Distractor review

Azure Traffic Manager

Traffic Manager is a DNS-based traffic routing service that directs traffic based on endpoint health and routing methods. It does not perform SSL termination, URL routing, or session persistence.

Common exam trap

Common exam trap: NAT rules depend on direction and matching traffic

NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.

Technical deep dive

How to think about this question

NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.

KKey Concepts to Remember

  • Static NAT maps one inside address to one outside address.
  • PAT allows many inside hosts to share one public address using ports.
  • Inside local and inside global describe the private and translated addresses.
  • NAT ACLs identify traffic for translation, not always security filtering.

TExam Day Tips

  • Identify inside and outside interfaces first.
  • Check whether the scenario needs static NAT, dynamic NAT or PAT.
  • Do not confuse NAT matching ACLs with normal packet-filtering intent.

Related practice questions

Related AZ-305 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-305 question test?

Static NAT maps one inside address to one outside address.

What is the correct answer to this question?

The correct answer is: Azure Application Gateway — Azure Application Gateway is a layer-7 load balancer that provides SSL termination, URL-based routing, and session affinity (cookie-based stickiness). Azure Load Balancer operates at layer-4 and cannot perform URL-based routing or SSL termination. Azure Front Door is a global load balancer but is designed for multi-region scenarios and CDN capabilities. Traffic Manager is a DNS-based traffic distributor, not a load balancer for application-layer routing.

What should I do if I get this AZ-305 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.