Google Cloud Professional Cloud Architect — Question 161
Your company has a stateless web API that performs scientific calculations. The web API runs on a single Google Kubernetes Engine (GKE) cluster. The cluster is currently deployed in us-central1. Your company has expanded to offer your API to customers in Asia. You want to reduce the latency for users in Asia.
What should you do?
Answer options
- A. Create a second GKE cluster in asia-southeast1, and expose both APIs using a Service of type LoadBalancer. Add the public IPs to the Cloud DNS zone.
- B. Use a global HTTP(s) load balancer with Cloud CDN enabled.
- C. Create a second GKE cluster in asia-southeast1, and use kubemci to create a global HTTP(s) load balancer.
- D. Increase the memory and CPU allocated to the application in the cluster.
Correct answer: C
Explanation
The correct answer is C because creating a second GKE cluster in asia-southeast1 and utilizing kubemci allows for a global HTTP(s) load balancer, which effectively reduces latency for users in Asia by routing traffic to the nearest cluster. Option A does not address global traffic management effectively, while B does not utilize the benefits of GKE clusters for improved latency, and D would not resolve latency issues since it only increases resource allocation without geographical distribution.