Google Professional Cloud Network Engineer Question 402
Single answerGoogle Cloud PlatformYou are configuring a global HTTP(S) load balancer on Google Cloud for an e-commerce application. The application has multiple backend instances distributed across two regions. You want to optimize traffic distribution based on backend server utilization to prevent overloading any instance. Which load balancing method would be most appropriate to configure for the backend services?
- A
Round Robin
- B
Rate-based (RPS) balancing
- C
CPU utilization-based balancing
- D
Least Connections balancing
Show answer and explanation
Correct answer: C
Explanation
CPU utilization-based balancing is the preferred load balancing method when you want to optimize traffic distribution by considering the current utilization of backend server resources. This ensures that no single instance is overloaded, which is critical for maintaining the performance and reliability of an e-commerce application during periods of high traffic.
- A. Incorrect.
Round Robin distributes traffic equally among the backends without considering the utilization or load on individual instances. This would not prevent overloading of some instances.
- B. Incorrect.
Rate-based (RPS) balancing distributes traffic based on the number of requests per second but does not take into account backend server utilization, which is crucial in this scenario.
- C. Correct.
CPU utilization-based balancing ensures that traffic is distributed based on the current utilization of each backend server’s CPU, making it the most appropriate choice to avoid overloading instances.
- D. Incorrect.
Least Connections balancing is not a load balancing method supported by Google Cloud HTTP(S) load balancers, making it an invalid choice in this context.