Course menuCLF-C02

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.

Last verified against current AWS documentation ·How we write our questions

A multiplayer game company handles TCP and UDP game traffic at millions of requests per second.

Players connect through static IP addresses that partner networks can allow-list, and the company needs its load balancer to work at layer 4.

Which load balancer should it use?

Choose one answer.

  1. A. Application Load Balancer, which routes HTTP and HTTPS requests at layer 7
  2. B. Gateway Load Balancer, which distributes traffic to third-party virtual appliances
  3. C. Network Load Balancer, which works at layer 4 with static IP addresses
  4. D. Application Load Balancer behind AWS Global Accelerator, for static IPs
Show the answer and explanation

Answer: C

  • A. Wrong: An Application Load Balancer works at layer 7 on HTTP and HTTPS requests. That does not meet the layer 4 requirement for raw game traffic.
  • B. Wrong: Gateway Load Balancer inserts third-party security or inspection appliances into the traffic path. It is not designed to balance game traffic across game servers.
  • C. Right: Correct. A Network Load Balancer works at layer 4, supports TCP and UDP, and gives each enabled Availability Zone a static IP address that partners can allow-list. Learn more: What is a Network Load Balancer? (opens in a new tab)
  • D. Wrong: Global Accelerator provides static IP addresses, which fixes the allow-list need. The Application Load Balancer behind it still works at layer 7, so the layer 4 requirement is missed. Learn more: AWS Global Accelerator components (opens in a new tab)

Explanation

A Network Load Balancer works at layer 4, supports TCP and UDP, and gives each enabled Availability Zone a static IP address. An Application Load Balancer works at layer 7, and placing it behind Global Accelerator adds static IPs but keeps the layer 7 limit. Gateway Load Balancer is for inserting third-party appliances into traffic.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

Want more on Auto scaling and load balancing? The 5 full-length practice sets have 10 more Auto scaling and load balancing questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets