Google Cloud Professional Cloud Network Engineer — Question 137
You built a web application with several containerized microservices. You want to run those microservices on Cloud Run. You must also ensure that the services are highly available to your customers with low latency. What should you do?
Answer options
- A. Deploy the Cloud Run services to multiple availability zones. Create a global TCP load balancer. Add the Cloud Run endpoints to its backend service.
- B. Deploy the Cloud Run services to multiple regions. Create serverless network endpoint groups (NEGs) that point to the services. Create a global HTTPS load balancer, and attach the serverless NEGs as backend services of the load balancer.
- C. Deploy the Cloud Run services to multiple availability zones. Create Cloud Endpoints that point to the services. Create a global HTTPS load balancer, and attach the Cloud Endpoints to its backend
- D. Deploy the Cloud Run services to multiple regions. Configure a round-robin A record in Cloud DNS.
Correct answer: B
Explanation
The correct answer is B because deploying the services to multiple regions and using serverless NEGs with a global HTTPS load balancer ensures low latency and high availability. Option A is incorrect as it focuses on availability zones rather than regions, which may not provide the same level of global distribution. Option C also uses availability zones and Cloud Endpoints, which do not offer the same benefits as serverless NEGs in this context. Option D lacks a robust load balancing mechanism to maintain high availability.