nerdexam
Microsoft

AZ-104 · Question #548

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. 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 zhang_li· 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

  • ASession persistence to None
  • BFloating IP (direct server return) to Disabled
  • Ca health probe
  • DSession persistence to Client IP

How the community answered

(37 responses)
  • A
    5% (2)
  • B
    8% (3)
  • C
    3% (1)
  • D
    84% (31)

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