Skip to Content

AZ-700: How to Configure Floating IP for Azure Load Balancer with Virtual Machines?

Learn the essential steps to configure Floating IP with Azure Load Balancer and Virtual Machines (VM1 & VM2) for seamless web app deployment. Discover why creating a loopback interface in the guest OS is crucial for successful Direct Server Return (DSR) setup.

Table of Contents

Question

You have an Azure subscription that contains two Azure Virtual Machines named VM1 and VM2 and an Azure Load Balancer named LB1.
You plan to deploy two web app each to VM1 and VM2, which will both be bound to port 443.
LB1 has two load balancing rules that each has Floating IP enabled.
You need to configure VM1 and VM2 to work correctly with Floating IP.
What should you do first?

A. Create a loopback interface in the guest OS of VM1 and VM2.
B. Create an inbound NAT rule.
C. Create an outbound NAT rule.
D. Deploy an Azure application gateway.

Answer

A. Create a loopback interface in the guest OS of VM1 and VM2.

Explanation

Enabling Direct Server Return (DSR), known in Azure as Floating IP, involves creating a loopback adapter on the virtual machine and assigning the loopback adapter the IP address of the frontend listener. This way, the virtual machines knows where to send the traffic back to for session affinity.

Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Designing and Implementing Microsoft Azure Networking Solutions AZ-700 exam and earn Designing and Implementing Microsoft Azure Networking Solutions AZ-700 certification.