Five Azure web-server VMs are behind load balancer LB1. To ensure a client is served by the same backend VM for the duration of their session, what should you configure?
Choose an answer
Tap an option to check your answer.
Correct answer: Configure session persistence to Client IP.
Why this is the answer
Configuring session persistence to Client IP ensures that all requests from a specific client IP address are directed to the same backend VM behind the load balancer. This is crucial for maintaining session state in web applications where a client needs to interact with the same server throughout their session. Enabling Floating IP (direct server return) is used for specific scenarios like high-availability clusters or network virtual appliances, not for session persistence. Setting an idle timeout defines how long a TCP or HTTP connection can remain inactive before being closed, which doesn't guarantee session stickiness. Adding a health probe monitors the availability of backend instances but doesn't influence how client requests are routed for session continuity.
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