Five Azure VMs (Windows Server 2016) are web servers behind load balancer LB1. Ensure visitors are always served by the same backend server for each request. What setting should you change?
Choose an answer
Tap an option to check your answer.
Correct answer: Set session persistence to Client IP and protocol.
Why this is the answer
To ensure visitors are always served by the same backend server (session stickiness), you need to configure session persistence on the load balancer. Setting session persistence to "Client IP and protocol" (also known as Source IP affinity) directs subsequent requests from the same client IP address to the same backend instance. Using UDP as the protocol is incorrect because web traffic typically uses TCP, and changing the protocol doesn't address session persistence. Setting session persistence to "None" would distribute each request to any available backend instance, breaking session stickiness. Disabling Floating IP (Direct Server Return) is a setting related to how the load balancer handles response traffic, not 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