Configure Azure Internal Load Balancer for SQL Server Always On Availability Group | Exam AZ-101 Microsoft Azure Integration and Security

Configure Azure Internal Load Balancer for SQL Server Always On Availability Group

Question

You have a Microsoft SQL Server Always On availability group on Azure virtual machines.

You need to configure an Azure internal load balancer as a listener for the availability group.

What should you do?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A

Incorrect Answers:

D: The Health probe is created with the TCP protocol, not with the HTTP protocol.

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-portal-sql-alwayson-int-listener

To configure an Azure internal load balancer as a listener for a Microsoft SQL Server Always On availability group on Azure virtual machines, you should:

  1. Create an Azure internal load balancer: First, you need to create an Azure internal load balancer in the same virtual network as your availability group. This load balancer will serve as a listener for incoming traffic to your availability group.

  2. Create a load balancing rule: Next, you need to create a load balancing rule for the internal load balancer. This rule will define how traffic is distributed to the availability group.

  3. Set the Frontend IP configuration: In the load balancing rule, you need to specify the frontend IP configuration for the internal load balancer. This configuration includes the IP address of the internal load balancer and the protocol that will be used to communicate with the availability group.

  4. Set the Backend pool configuration: You also need to specify the backend pool configuration in the load balancing rule. This configuration includes the IP addresses of the virtual machines that are part of the availability group.

  5. Configure the health probe: Finally, you need to configure the health probe for the internal load balancer. This probe will check the health of the virtual machines in the availability group and ensure that traffic is only sent to healthy virtual machines.

Out of the given options, the correct answer is A. Enable Floating IP. This is because enabling Floating IP allows the internal load balancer to use the same IP address as the virtual machines in the availability group. This ensures that client connections are not disrupted if a virtual machine fails over to another node in the availability group.

Option B and C relate to session persistence, which is not required for an availability group listener.

Option D is incorrect because port 1433 is used for SQL Server database connections, not HTTP connections. So, creating an HTTP health probe on port 1433 would not be appropriate for this scenario.