Five Azure VMs host web services behind load balancer LB1. Which configuration guarantees a client is sent to the same backend VM for repeated requests?
Choose an answer
Tap an option to check your answer.
Correct answer: Set Session persistence to Client IP.
Why this is the answer
Setting Session persistence to Client IP ensures that all subsequent requests from the same client IP address are directed to the same backend virtual machine. This is crucial for applications that require "sticky sessions," where user session data is stored on a specific server. Setting Idle Time-out (minutes) to 20 only defines how long a TCP or HTTP connection can remain inactive before being closed by the load balancer; it does not guarantee session persistence. Setting Session persistence to None (the default) means requests are distributed round-robin or based on load, without regard for client IP, potentially sending a client to a different VM with each request. Changing the Protocol to UDP is irrelevant for HTTP/HTTPS web services and does not affect session persistence.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed