Free AZ-104 Exam Braindumps (page: 32)

Page 31 of 132

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?

  1. Floating IP (direct server return) to Enabled
  2. Idle Time-out (minutes) to 20
  3. a health probe
  4. Session persistence to Client IP

Answer(s): D

Explanation:

Azure Load Balancer supports the following distribution modes for routing connections to instances in the backend pool:

* Session persistence: Client IP
Traffic from the same client IP is routed to the same backend instance.

* Hash based
Traffic from the same client IP routed to any healthy instance in the backend pool.

Note: Session persistence
Session persistence is also known session affinity, source IP affinity, or client IP affinity. This distribution mode uses a two-tuple (source IP and destination IP) or three-tuple (source IP, destination IP, and protocol type) hash to route to backend instances. When using session persistence, connections from the same client will go to the same backend instance within the backend pool.


Reference:

https://learn.microsoft.com/en-us/azure/load-balancer/distribution-mode-concepts



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?

  1. Session persistence to Client IP and protocol
  2. Idle Time-out (minutes) to 20
  3. Session persistence to None
  4. Floating IP (direct server return) to Enabled

Answer(s): A

Explanation:

With Sticky Sessions when a client starts a session on one of your web servers, session stays on that specific server. To configure An Azure Load-Balancer For Sticky Sessions set Session persistence to Client IP or to Client IP and protocol.

On the following image you can see sticky session configuration:



Note:
Client IP and protocol specifies that successive requests from the same client IP address and protocol combination will be handled by the same virtual machine.
Client IP specifies that successive requests from the same client IP address will be handled by the same virtual machine.


Reference:

https://cloudopszone.com/configure-azure-load-balancer-for-sticky-sessions/



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?

  1. Floating IP (direct server return) to Disabled
  2. Idle Time-out (minutes) to 20
  3. a health probe
  4. Session persistence to Client IP

Answer(s): D

Explanation:

With Sticky Sessions when a client starts a session on one of your web servers, session stays on that specific server. To configure An Azure Load-Balancer For Sticky Sessions set Session persistence to Client IP or to Client IP and protocol.

On the following image you can see sticky session configuration:


Note:
Client IP and protocol specifies that successive requests from the same client IP address and protocol combination will be handled by the same virtual machine.
Client IP specifies that successive requests from the same client IP address will be handled by the same virtual machine.


Reference:

https://cloudopszone.com/configure-azure-load-balancer-for-sticky-sessions/



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?

  1. Session persistence to Client IP
  2. Idle Time-out (minutes) to 20
  3. Session persistence to None
  4. Protocol to UDP

Answer(s): A

Explanation:

With Sticky Sessions when a client starts a session on one of your web servers, session stays on that specific server. To configure An Azure Load-Balancer For Sticky Sessions set Session persistence to Client IP or to Client IP and protocol.

On the following image you can see sticky session configuration:



Note:
Client IP and protocol specifies that successive requests from the same client IP address and protocol combination will be handled by the same virtual machine.
Client IP specifies that successive requests from the same client IP address will be handled by the same virtual machine.


Reference:

https://cloudopszone.com/configure-azure-load-balancer-for-sticky-sessions/






Post your Comments and Discuss Microsoft AZ-104 exam with other Community members:

AZ-104 Discussions & Posts