Frequently asked questions and answers of Load Balancers (Application, Network, Global) in Cloud Computing of Computer Science to enhance your skills, knowledge on the selected topic. We have compiled the best Load Balancers (Application, Network, Global) Interview question and answer, trivia quiz, mcq questions, viva question, quizzes to prepare. Download Load Balancers (Application, Network, Global) FAQs in PDF form online for academic course, jobs preparations and for certification exams .
Intervew Quizz is an online portal with frequently asked interview, viva and trivia questions and answers on various subjects, topics of kids, school, engineering students, medical aspirants, business management academics and software professionals.
Question-1. What is a load balancer?
Answer-1: A load balancer is a system that distributes incoming network or application traffic across multiple servers to ensure no single server becomes overwhelmed.
Question-2. What are the main types of load balancers?
Answer-2: The main types are Application Load Balancer (ALB), Network Load Balancer (NLB), and Global Load Balancer.
Question-3. What is an Application Load Balancer?
Answer-3: An ALB operates at the application layer (Layer 7) and routes traffic based on content such as URL, hostname, or headers.
Question-4. What is a Network Load Balancer?
Answer-4: A NLB works at the transport layer (Layer 4) and routes traffic based on IP protocol data.
Question-5. What is a Global Load Balancer?
Answer-5: A Global Load Balancer distributes traffic across servers in multiple geographic regions to improve latency and availability.
Question-6. Which layer of the OSI model does ALB operate on?
Answer-6: ALB operates on Layer 7 (Application Layer).
Question-7. Which layer does the NLB operate on?
Answer-7: NLB operates on Layer 4 (Transport Layer).
Question-8. What is path-based routing in ALB?
Answer-8: It allows routing of requests to different targets based on the URL path of the request.
Question-9. What is host-based routing in ALB?
Answer-9: Host-based routing forwards requests based on the hostname in the HTTP header.
Question-10. What is sticky session or session affinity?
Answer-10: It is a feature that binds a user's session to a specific server, maintaining session state.
Question-11. Does NLB support SSL termination?
Answer-11: No, NLB passes the SSL traffic directly to the target server without termination.
Question-12. What is SSL termination?
Answer-12: It?s when the load balancer decrypts the SSL traffic before passing it to backend servers.
Question-13. Which load balancer supports WebSocket?
Answer-13: Application Load Balancer supports WebSocket connections.
Question-14. What is health checking in load balancers?
Answer-14: Health checks monitor the health of backend instances and route traffic only to healthy ones.
Question-15. What protocols are supported by ALB?
Answer-15: ALB supports HTTP, HTTPS, and WebSocket.
Question-16. What protocols are supported by NLB?
Answer-16: NLB supports TCP, TLS, and UDP.
Question-17. What is cross-zone load balancing?
Answer-17: Cross-zone load balancing distributes traffic evenly across all registered targets in all availability zones.
Question-18. Is cross-zone load balancing enabled by default in ALB?
Answer-18: Yes, it is enabled by default in ALB.
Question-19. What are target groups in AWS ALB?
Answer-19: Target groups are used to route requests to one or more registered targets such as EC2 instances or containers.
Question-20. What is listener in load balancer?
Answer-20: A listener checks for connection requests using the protocol and port you configure.
Question-21. What are the pricing models for load balancers?
Answer-21: They are usually charged per hour and per GB of data processed.
Question-22. What is latency-based routing in Global Load Balancer?
Answer-22: It directs traffic to the region with the lowest latency for the client.
Question-23. Can load balancers auto-scale?
Answer-23: Load balancers themselves don?t auto-scale, but they distribute traffic to auto-scaling backend instances.
Question-24. What is the benefit of using Global Load Balancer?
Answer-24: It improves performance and reliability by routing users to the nearest healthy region.
Question-25. What is a backend pool in Azure Load Balancer?
Answer-25: A backend pool is a collection of IP addresses of virtual machines to receive the load-balanced traffic.
Question-26. What is a rule in Azure Load Balancer?
Answer-26: Rules define how traffic is distributed to backend pool instances.
Question-27. What are probes in Azure Load Balancer?
Answer-27: Probes are used to determine the health of backend instances.
Question-28. What is the difference between internal and external load balancer?
Answer-28: Internal load balancer routes traffic within a private network, while external LB handles public-facing traffic.
Question-29. What is autoscaling and how does it relate to load balancing?
Answer-29: Autoscaling automatically adjusts the number of backend resources based on load; load balancers help manage the distribution.
Question-30. What is IP affinity?
Answer-30: It binds a user's IP address to a specific backend server to maintain session continuity.
Question-31. Can a load balancer perform content-based routing?
Answer-31: Yes, especially Application Load Balancers can route based on content like URLs and headers.
Question-32. What is DNS-based load balancing?
Answer-32: It uses DNS responses to distribute traffic across multiple IP addresses or regions.
Question-33. How does failover work in Global Load Balancers?
Answer-33: Traffic is redirected to a secondary region or endpoint when the primary becomes unhealthy.
Question-34. What is weighted round robin?
Answer-34: It distributes traffic based on pre-assigned weights to backend servers.
Question-35. What is a reverse proxy?
Answer-35: A reverse proxy forwards client requests to backend servers and is commonly used in ALBs.
Question-36. What are common algorithms used in load balancing?
Answer-36: Round Robin, Least Connections, IP Hash, and Weighted Distribution.
Question-37. What is a listener rule in ALB?
Answer-37: Listener rules determine how requests are routed to target groups based on conditions like path or host.
Question-38. Can NLB handle sudden traffic spikes?
Answer-38: Yes, NLB is designed to handle millions of requests per second with ultra-low latency.
Question-39. What is the benefit of using NLB over ALB?
Answer-39: NLB provides high performance for TCP and UDP traffic and is ideal for real-time applications.
Question-40. Does ALB support Lambda functions as targets?
Answer-40: Yes, ALB supports AWS Lambda as a target.
Question-41. How is traffic distributed in a round-robin load balancer?
Answer-41: It distributes traffic equally across all backend servers in a cyclic order.
Question-42. What is geolocation routing?
Answer-42: Geolocation routing sends user requests to resources based on their geographic location.
Question-43. What is health probe timeout?
Answer-43: It defines the amount of time to wait for a response before considering the target unhealthy.
Question-44. What is deregistration delay in load balancers?
Answer-44: It?s the time a target remains registered after being marked unhealthy, to finish processing in-flight requests.
Question-45. Can multiple listeners be attached to a single ALB?
Answer-45: Yes, multiple listeners with different ports or protocols can be attached to a single ALB.
Question-46. What is a multi-region load balancer?
Answer-46: It routes traffic across multiple cloud regions for fault tolerance and performance.
Question-47. Does NLB support static IP addresses?
Answer-47: Yes, NLB supports static IP and Elastic IP addresses.
Question-48. What is auto-healing in load balancers?
Answer-48: It refers to removing unhealthy instances from the pool and redistributing traffic to healthy ones.
Question-49. What monitoring tools are available for load balancers?
Answer-49: CloudWatch (AWS), Azure Monitor, and built-in dashboards provide metrics and logs.
Question-50. What is connection draining?
Answer-50: It allows in-flight requests to complete before terminating the instance or deregistering it from the load balancer.
Frequently Asked Question and Answer on Load Balancers (Application, Network, Global)
Load Balancers (Application, Network, Global) Interview Questions and Answers in PDF form Online
Load Balancers (Application, Network, Global) Questions with Answers
Load Balancers (Application, Network, Global) Trivia MCQ Quiz