IntermediatePhone
2 min
Types of Load Balancers
Load BalancingNetworkingInfrastructure
Advertisement
Interview Question
Explain the difference between Layer 4 and Layer 7 load balancing. Provide examples of when each would be used.
Key Points to Cover
- L4: routes traffic based on IP/port (TCP/UDP)
- L7: routes based on content (HTTP headers, paths)
- L4 example: NLB; L7 example: ALB, NGINX
Evaluation Rubric
Explains Layer 4 correctly30% weight
Explains Layer 7 correctly30% weight
Gives real-world examples40% weight
Hints
- 💡Think OSI model layers.
Potential Follow-up Questions
- ❓Which is better for microservices?
- ❓How does SSL termination work?
Advertisement