nerdexam
Microsoft

AZ-104 · Question #121

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…

The correct answer is D. Session persistence to Client IP and protocol. 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…

Submitted by khalil_dz· Mar 30, 2026Implement advanced virtual networking

Question

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?

Options

  • AIdle Time-out (minutes) to 20
  • BFloating IP (direct server return) to Disabled
  • CFloating IP (direct server return) to Enabled
  • DSession persistence to Client IP and protocol

How the community answered

(15 responses)
  • A
    7% (1)
  • B
    7% (1)
  • C
    13% (2)
  • D
    73% (11)

Explanation

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: - 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. https://cloudopszone.com/configure-azure-load-balancer-for-sticky-sessions/

Topics

#load balancer#session persistence#client IP affinity#web server stickiness

Community Discussion

No community discussion yet for this question.

Full AZ-104 Practice