Skip to Content

AZ-104: How to configure load balancers for virtual networks, traffic distribution, and internal external scenarios

You’re configuring load balancers to distribute incoming network traffic across a group of back-end resources and virtual machines. Your solution must scale your applications while maintaining throughput and keeping response times low. A few teams submitted configuration requirements and questions for your consideration:

  • Your company wants to provide customers with a virtual network in the cloud.
  • The IT team is interested in default traffic distribution for load balancing, and has questions about hashes and affinities.
  • You’re investigating configuration options for internal and external load balancers.

Question 1

What’s the default distribution type for traffic through a load balancer?

A. Source IP affinity
B. Three-tuple hash
C. Five-tuple hash

Answer

C. Five-tuple hash

Explanation

The load balancer uses a five-tuple (source IP, source port, destination IP, destination port, and protocol type) hash to map traffic to available servers.

A is incorrect. Affinity specifies that successive requests from the same client IP address and protocol combination are handled by the same virtual machine.
B is incorrect. A three-tuple hash isn’t the distribution type.

Question 2

Which configuration is required for an internal load balancer?

A. Virtual machines must be in the same virtual network.
B. Virtual machines must be publicly accessible.
C. Virtual machines must be in an availability set.

Answer

A. Virtual machines must be in the same virtual network.

Explanation

The virtual machines that use a load balancer to distribute a load must be in the same virtual network.

B is incorrect. Virtual machines that are behind an internal load balancer shouldn’t be accessed publicly. The load balancer provides the access point.
C is incorrect. Although this configuration is an option, it’s not a requirement.

Microsoft Azure Administrator AZ-104 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Azure Administrator AZ-104 exam and earn Microsoft Azure Administrator AZ-104 certification.