Free AZ-700 Design and Implement Load Balancing Questions and Answers — Questions and Answers
Question 1: What type of Azure Load Balancer provides high availability by distributing incoming network traffic across multiple virtual machines (VMs) inside a virtual network?
- Public Load Balancer
- Internal Load Balancer (Correct answer)
- Traffic Manager
- Application Gateway
Correct answer: Internal Load Balancer
An Internal Load Balancer (ILB) in Azure is used to distribute incoming network traffic among virtual machines (VMs) within a virtual network. Unlike a Public Load Balancer, an ILB is not exposed to the internet, making it suitable for internal applications and services. It ensures high availability and even traffic distribution among healthy backend instances for internal workloads.
Question 2: Which Azure service can you use to manage DNS-based load balancing across multiple regions or endpoints for high availability and resilience?
- Azure Traffic Manager (Correct answer)
- Azure Load Balancer
- Azure Application Gateway
- Azure Front Door
Correct answer: Azure Traffic Manager
Azure Traffic Manager is a DNS-based traffic load balancer that enables you to distribute user traffic to service endpoints across global Azure regions. It uses various routing methods to ensure high availability and responsiveness by directing users to the best performing or closest available endpoint. This service is crucial for multi-region deployments requiring global traffic management.
Question 3: Which load balancing method is used by Azure Load Balancer to distribute incoming traffic across all available VMs in a backend pool based on the number of concurrent connections?
- Source IP affinity
- Round-robin
- Least connections (Correct answer)
- Hash-based distribution
Correct answer: Least connections
The 'Least connections' load balancing method used by Azure Load Balancer directs new incoming traffic to the backend instance with the fewest active connections. This method helps to optimize resource utilization and ensure an even distribution of workload across all available virtual machines in the backend pool. By sending traffic to less busy servers, it prevents any single server from becoming overloaded.
Question 4: Which Azure service provides load balancing at the application layer (Layer 7) and includes features like SSL termination, URL-based routing, and Web Application Firewall (WAF)?
- Azure Load Balancer
- Azure Traffic Manager
- Azure Application Gateway (Correct answer)
- Azure Front Door
Correct answer: Azure Application Gateway
Azure Application Gateway operates at Layer 7 (the application layer) and provides advanced load balancing capabilities specifically for web traffic. It includes features like SSL termination, URL-based routing, session affinity, and an integrated Web Application Firewall (WAF). This makes it ideal for securing, managing, and optimizing traffic to your web applications.
Question 5: When configuring a Public Load Balancer in Azure, which component is used to define how incoming traffic is distributed to the backend pool instances?
- Load balancing rules (Correct answer)
- Network security groups
- Health probes
- Backend pool
Correct answer: Load balancing rules
When configuring an Azure Public Load Balancer, load balancing rules are the component used to define how incoming traffic is distributed to the backend pool instances. These rules specify the frontend IP address and port, the protocol, and the backend pool to which the traffic should be directed. They also determine the desired load balancing distribution method for the traffic.
What type of Azure Load Balancer provides high availability by distributing incoming network traffic across multiple virtual machines (VMs) inside a virtual network?