You are configuring an Azure Standard Load Balancer. You want traffic arriving on port 80 to be distributed across your backend VMs, but you also want to ensure that packets from the same client IP address always go to the same backend VM. What should you configure?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Session persistence (Client IP and Protocol)

Session persistence (also known as session affinity) dictates how traffic is distributed. By setting it to 'Client IP' or 'Client IP and Protocol' (a 2-tuple or 3-tuple hash), the ...

๐Ÿ“‹Part of Microsoft Certified: Azure Network Engineer Associate (AZ-700) ยท Azure Certification Practice
Real Exam ScenarioAzure Load Balancer

You are configuring an Azure Standard Load Balancer. You want traffic arriving on port 80 to be distributed across your backend VMs, but you also want to ensure that packets from the same client IP address always go to the same backend VM. What should you configure?

โœ“ Correct Answer & ExplanationAzure Load Balancer

Correct Answer

Session persistence (Client IP and Protocol)

Why This Answer Is Correct

Session persistence (also known as session affinity) dictates how traffic is distributed. By setting it to 'Client IP' or 'Client IP and Protocol' (a 2-tuple or 3-tuple hash), the Load Balancer ensures that successive requests from the same client IP address are routed to the same backend VM. The default is a 5-tuple hash which does not guarantee affinity.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Azure Load Balancer โ€” a core concept tested in Microsoft Certified: Azure Network Engineer Associate (AZ-700). Understanding Azure Load Balancer is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.