Skip to content

AZ-700 · Domain 3: Design and implement application delivery services · 18% of the exam

Task 3.1: Design and implement Azure Load Balancer and Azure Traffic Manager

Load Balancer SKUs and types (public, internal, cross-region, Gateway Load Balancer), load balancing rules, inbound NAT rules and outbound rules with SNAT, and Traffic Manager.

Study it

Sample questions

Try each one before opening the answer. Every option is explained, with the Microsoft documentation page that proves it.

Question 1 · choose 1

A public Standard Load Balancer fronts four web VMs: Load-balancing rule lb-web: TCP 443 to backend port 443; Health probe: TCP, port 443, interval 5 seconds, threshold 2. When a VM loses its database connection, its web server still accepts TCP connections on 443 and users get errors. The app can serve /health over HTTPS and return 503 when the database is unreachable. What should you change so that such a VM stops receiving new connections?

  1. ASet the probe threshold to 1, so one failed check marks the VM down
  2. BChange the probe to HTTPS, with path /health
  3. CPoint the TCP probe at port 1433, the database port, on each web VM
  4. DEnable TCP reset on the load-balancing rule
Show the answer and why
  • ASet the probe threshold to 1, so one failed check marks the VM down

    Incorrect

    A TCP probe succeeds whenever the listener completes the handshake, so it never fails here.

  • BChange the probe to HTTPS, with path /health

    Correct

    An HTTP or HTTPS probe fails on any response code other than 200, so a 503 removes the VM from new flows.

  • CPoint the TCP probe at port 1433, the database port, on each web VM

    Incorrect

    Nothing listens on 1433 on the web VMs, so every probe would fail and all four VMs would be marked down.

  • DEnable TCP reset on the load-balancing rule

    Incorrect

    TCP reset notifies endpoints when an idle flow times out; it doesn't detect an unhealthy application.

A TCP probe only checks that the port completes a handshake. HTTP and HTTPS probes send a GET to a path and mark the instance down on any response other than 200, which lets the application report its own health.

Question 2 · choose 1

A Standard Load Balancer balances TCP traffic across vm1, vm2 and vm3. Before patching vm1, you make its health probe endpoint fail, and the probe marks vm1 down. What happens to vm1's traffic?

  1. AAll of vm1's connections are reset, and clients reconnect to vm2 and vm3
  2. Bvm1's established connections move to vm2 and vm3
  3. Cvm1 keeps receiving new connections until its established connections end
  4. DEstablished connections to vm1 continue, and new connections go to vm2 and vm3
Show the answer and why
  • AAll of vm1's connections are reset, and clients reconnect to vm2 and vm3

    Incorrect

    Established TCP connections to an instance whose probe is down aren't reset.

  • Bvm1's established connections move to vm2 and vm3

    Incorrect

    Existing UDP flows move to another healthy instance; established TCP connections stay where they are.

  • Cvm1 keeps receiving new connections until its established connections end

    Incorrect

    Once its probe is down, an instance gets no new connections.

  • DEstablished connections to vm1 continue, and new connections go to vm2 and vm3

    Correct

    With a single instance's probe down, new TCP connections go to the healthy instances and established ones to vm1 continue.

When one instance's probe is down, the load balancer sends new TCP connections to the remaining healthy instances and lets established TCP connections continue, which allows draining before maintenance. Existing UDP flows move to another healthy instance.

Question 3 · choose 2

A Traffic Manager profile uses the Geographic routing method. Endpoint ep-eu has the region Europe assigned, endpoint ep-us has North America, and no other regions are assigned. Which two statements are true? (Choose TWO.)

  1. AQueries from Asia go to whichever endpoint has the lowest latency
  2. BQueries from regions with no mapping get a NODATA response
  3. CWhile ep-eu is unhealthy, queries from Europe still return ep-eu
  4. DEurope can also be assigned to ep-us, so that ep-us backs up ep-eu for European users
  5. EIf ep-eu is set to Stopped, queries from Europe move up the region hierarchy to another mapping
Show the answer and why
  • AQueries from Asia go to whichever endpoint has the lowest latency

    Incorrect

    Choosing by latency is the Performance method; Geographic routing answers only for mapped regions.

  • BQueries from regions with no mapping get a NODATA response

    Correct

    A query from a geographic region that has no mapping in the profile gets a NODATA response.

  • CWhile ep-eu is unhealthy, queries from Europe still return ep-eu

    Correct

    A region maps to only one endpoint, so Traffic Manager returns that endpoint whether it's healthy or not.

  • DEurope can also be assigned to ep-us, so that ep-us backs up ep-eu for European users

    Incorrect

    With Geographic routing, a region can be mapped to only one endpoint in a profile.

  • EIf ep-eu is set to Stopped, queries from Europe move up the region hierarchy to another mapping

    Incorrect

    A matched endpoint in the Stopped state returns NODATA, with no further lookups up the hierarchy.

With Geographic routing, each region is mapped to one endpoint, and Traffic Manager answers with that endpoint whatever its health. Queries from unmapped regions, or matched to a stopped endpoint, get NODATA, which is why a World mapping is recommended.

Question 4 · choose 1

You're adding VMs to the backend pool of a Standard Load Balancer. Which VMs can the pool contain?

  1. AVMs and scale set instances in a single virtual network
  2. BVMs in the load balancer's network and in any network peered with it
  3. CVMs in any virtual network of the subscription and region
  4. DOnly VMs that belong to one availability set
Show the answer and why
  • AVMs and scale set instances in a single virtual network

    Correct

    The scope of the backend pool is any virtual machine in a single virtual network.

  • BVMs in the load balancer's network and in any network peered with it

    Incorrect

    Peering doesn't widen the backend pool beyond one virtual network.

  • CVMs in any virtual network of the subscription and region

    Incorrect

    The pool is scoped to a single virtual network.

  • DOnly VMs that belong to one availability set

    Incorrect

    Any virtual machine in the virtual network can be in the pool.

A load balancer's backend pool can include any VMs or scale set instances in one virtual network, and the load balancer reconfigures itself as instances are added or removed.

Question 5 · choose 1

An application tier must be load balanced for clients in the same virtual network and for on-premises users connected over a site-to-site VPN. It must not be reachable from the internet. Which load balancer fits?

  1. AA public load balancer with an NSG that blocks internet sources
  2. BAzure Front Door
  3. CA Gateway Load Balancer
  4. DAn internal load balancer
Show the answer and why
  • AA public load balancer with an NSG that blocks internet sources

    Incorrect

    A public frontend is internet-facing by design; the requirement calls for private access only.

  • BAzure Front Door

    Incorrect

    Front Door is a global entry point for internet traffic, not a private load balancer.

  • CA Gateway Load Balancer

    Incorrect

    Gateway Load Balancer chains network virtual appliances into a traffic path.

  • DAn internal load balancer

    Correct

    An internal load balancer balances traffic inside a virtual network, including access to its frontend from on-premises.

A public load balancer handles internet traffic. An internal (private) load balancer balances traffic inside a virtual network and can be reached from on-premises networks in hybrid scenarios.

Question 6 · choose 1

You're creating a load-balancing rule on a Standard Load Balancer for TCP port 8080. Which other component must the rule reference?

  1. AA public IP prefix
  2. BAn inbound NAT rule
  3. CA health probe
  4. DAn application security group
Show the answer and why
  • AA public IP prefix

    Incorrect

    A load-balancing rule maps a frontend IP configuration and port to a backend pool; a prefix isn't required.

  • BAn inbound NAT rule

    Incorrect

    Inbound NAT rules forward a frontend port to one instance; a load-balancing rule doesn't need one.

  • CA health probe

    Correct

    Load Balancer rules require a health probe to detect endpoint status.

  • DAn application security group

    Incorrect

    Application security groups are used in NSG rules, not in load-balancing rules.

A load-balancing rule requires a health probe, whose results decide which backend instances receive new connections.

Practice domain 3 →Practice all domains →