Google Cloud Professional Cloud Developer — Question 321
Your team has created an application that is hosted on a GKE cluster. You need to connect the application to a REST service that is deployed in two GKE clusters in two different regions. How should you set up the connection and health checks? (Choose two.)
Answer options
- A. Use Cloud Service Mesh with sidecar proxies to connect the application to the REST service.
- B. Use Cloud Service Mesh with proxyless gRPC to connect the application to the REST service.
- C. Configure the REST service's firewall to allow health checks originating from the GKE service’s IP ranges.
- D. Configure the REST service's firewall to allow health checks originating from the GKE control plane’s IP ranges.
- E. Configure the REST service's firewall to allow health checks originating from the GKE check probe’s IP ranges.
Correct answer: A, E
Explanation
The correct answer is A and E. Option A is right because using Cloud Service Mesh with sidecar proxies allows for seamless communication and control over the service connections. Option E is also correct as allowing health checks from the GKE check probe’s IP ranges ensures that the health status of the service can be monitored effectively. Options B, C, and D are incorrect as they either do not utilize the appropriate connection method or do not allow health checks from the correct sources.