AZ-104 – Question 195

0
775
You have five Azure virtual machines that run Windows Server 2016. The virtual machines are configured as web servers.

You have an Azure load balancer named LB1 that provides load balancing services for the virtual machines.
You need to ensure that visitors are serviced by the same web server for each request.
What should you configure?

  • A. Floating IP (direct server return) to Disabled
  • B. Session persistence to None
  • C. Floating IP (direct server return) to Enabled
  • D. Session persistence to Client IP

Correct Answer: D 
With Sticky Sessions when a client starts a session on one of your web servers, session stays on that specific server. To configure An Azure Load-Balancer For
Sticky Sessions set Session persistence to Client IP or to Client IP and protocol.
On the following image you can see sticky session configuration:
Note:
✑ Client IP and protocol specifies that successive requests from the same client IP address and protocol combination will be handled by the same virtual machine.
✑ Client IP specifies that successive requests from the same client IP address will be handled by the same virtual machine.

Reference: https://cloudopszone.com/configure-azure-load-balancer-for-sticky-sessions 

NO COMMENTS