Five Azure VMs run Windows Server 2016 as web servers behind load balancer LB1. You must ensure a visitor is served by the same web server for each request. What setting should you configure?
Choose an answer
Tap an option to check your answer.
Correct answer: Session persistence to Client IP.
Why this is the answer
Session persistence (also known as sticky sessions) ensures that requests from a specific client are always directed to the same backend server. By setting session persistence to "Client IP," the load balancer uses the client's IP address to consistently route subsequent requests from that client to the same web server. This is crucial for applications that maintain session state on the server, preventing data loss or unexpected behavior. Setting Floating IP (direct server return) to Enabled or Disabled affects how the load balancer handles return traffic, not session affinity. Setting session persistence to None would distribute each request independently, potentially sending a single client's requests to different web servers, which is the opposite of the requirement.
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