Learn how to configure session persistence on Azure Load Balancer to ensure traffic from a client is consistently routed to the same virtual machine in the backend pool. Discover the right setting to use for seamless session affinity in Azure networking solutions.
Table of Contents
Question
You have an Azure Load Balancer named LB1. LB1 has a backend pool that contains three Azure Virtual Machines.
You need to configure a load balancing rule on LB1 to ensure that all the traffic from a client is handled by the same virtual machine in the backend pool for the duration of a session.
What should you set?
A. Floating IP to Enabled
B. Session persistence to Client IP only
C. Session persistence to Client IP and protocol
D. Set Health probe to use TCP
Answer
C. Session persistence to Client IP and protocol
Explanation
Session persistence, also known as session affinity, is used to ensure that traffic is routed to the same backend virtual machine. To ensure that all traffic from a client (TCP and UDP) reaches the same backend machine, we must enable Client IP and protocol for session persistence.
Floating IP is used for a specific scenario where the same port is being used for multiple applications on an Azure virtual machine in a backend pool. Changing the Health probe protocol for a load balancer will not change how traffic is being distributed to the backend virtual machines.
Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Designing and Implementing Microsoft Azure Networking Solutions AZ-700 exam and earn Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification.