Exams / CLF-C02 / Auto scaling and load balancing / Question 1
CLF-C02 practice question: Auto scaling and load balancing (1 of 2)
Cloud Technology and Services A free question from our original CLF-C02 practice exam. Try it, then open the answer to see why each option is right or wrong.
A company runs a multiplayer game service that uses TCP and UDP traffic and must handle millions of requests per second. It needs a load balancer that works at the transport layer (layer 4) and gives a static IP address in each Availability Zone. Which load balancer should it choose?
Choose one answer.
- AA. Application Load Balancer
- BB. Classic Load Balancer
- CC. Network Load Balancer
- DD. Gateway Load Balancer
Show the answer and explanation
Answer: C
- A. Wrong: An Application Load Balancer works at layer 7 with HTTP and HTTPS requests. It is not designed for raw UDP traffic.
- B. Wrong: The Classic Load Balancer is the previous generation, and AWS recommends moving to a current-generation load balancer.
- C. Right: Correct. A Network Load Balancer works at layer 4, supports TCP and UDP, handles millions of requests per second and has a static IP per Availability Zone.
- D. Wrong: A Gateway Load Balancer is used to deploy and scale third-party virtual appliances such as firewalls, not to front a game service.
Explanation
Elastic Load Balancing offers several types. Application Load Balancers route HTTP and HTTPS requests at layer 7, for example by URL path or host name. Network Load Balancers work at layer 4 for TCP, UDP and TLS traffic at very high volume and provide static IP addresses. Gateway Load Balancers are for inserting network appliances into the traffic path.
Study
Keep practising
Answer questions with a score at the end, or practise just this topic with the explanation after each one. No sign-up needed.