Google Cloud Professional Cloud Developer — Question 233
Your team has created an application that is hosted on a Google Kubernetes Engine (GKE) cluster. You need to connect the application to a legacy REST service that is deployed in two GKE clusters in two different regions. You want to connect your application to the target service in a way that is resilient. You also want to be able to run health checks on the legacy service on a separate port. How should you set up the connection? (Choose two.)
Answer options
- A. Use Traffic Director with a sidecar proxy to connect the application to the service.
- B. Use a proxyless Traffic Director configuration to connect the application to the service.
- C. Configure the legacy service's firewall to allow health checks originating from the proxy.
- D. Configure the legacy service's firewall to allow health checks originating from the application.
- E. Configure the legacy service's firewall to allow health checks originating from the Traffic Director control plane.
Correct answer: A, C
Explanation
The correct answer is A, as using Traffic Director with a sidecar proxy provides a resilient connection to the legacy service and facilitates health checks. Option C is also correct because allowing health checks from the proxy ensures that the service can be monitored effectively. Options B, D, and E do not offer the required resilience or correct health check configurations for this scenario.