Microsoft Azure Administrator — Question 72

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?

Answer options

Correct answer: C

Explanation

The correct answer is C, as configuring session persistence to Client IP ensures that requests from the same client IP are directed to the same web server, maintaining session continuity. Option A would lead to random distribution of requests, while option B is related to monitoring the health of the servers and does not affect session persistence. Option D deals with the duration of idle connections, which is not relevant to ensuring users are connected to the same web server.