AZ-700 exam dumps

AZ-700 practice question 175 of 310

Designing and Implementing Microsoft Azure Networking Solutions. Professional level, Microsoft. Free question with the correct answer and a full explanation.

AZ-700 Question 175

Single answer

You have configured an internal Azure Load Balancer to distribute traffic across a pool of VMs hosting a stateful corporate web application. Once a user logs in to one of the VMs, they must remain on the same VM for the duration of their session. Which load balancer setting ensures these users continue to connect to the same backend VM throughout their session?

  1. A

    Floating IP

  2. B

    Outbound rules

  3. C

    Session persistence

  4. D

    Health probes

Show answer and explanation

Correct answer: C

Explanation

For stateful applications where users must continue to be served by the same backend VM after initial login, configuring session persistence is key. This setting (sometimes called 'client IP affinity') ensures that traffic from the same client IP is consistently directed to the same backend VM. Health probes are essential for checking VM health, but they do not enforce session-level stickiness. For more details on configuring session persistence, refer to Microsoft documentation on Azure Load Balancer configuration (https://docs.microsoft.com/azure/load-balancer/load-balancer-overview).

  • A. Incorrect.

    Floating IP is used primarily for scenarios like port forwarding in active-active configurations or high availability scenarios. It does not control session affinity for a user� connection.

  • B. Incorrect.

    Outbound rules manage outbound connectivity (e.g., SNAT) for virtual machines behind a Load Balancer. They do not ensure that each user is routed to the same VM across multiple requests.

  • C. Correct.

    Session persistence (also known as 'sticky sessions' or 'source IP affinity') ensures that once a client connects to a specific VM, they continue to connect to that same VM for all subsequent requests in that session. This is precisely what you need to maintain a user session on the same backend VM.

  • D. Incorrect.

    Health probes help in ensuring traffic is only sent to healthy VMs by regularly checking their availability. While necessary for load balancing, they do not guarantee that a user remains connected to the same VM for session continuity.

Timed practice exam

Take a AZ-700 practice test under exam conditions

70 questions in 100 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam