Google Cloud Professional Cloud Developer — Question 270
Your team has created an application that is hosted on a Google Kubemetes 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 legacy service in a way that is resilient and requires the fewest number of steps. You also want to be able to run probe-based 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. Set up a proxyless Traffic Director configuration for the application.
- C. Configure the legacy service's firewall to allow health checks originating from the sidecar 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 and C because using Traffic Director with a sidecar proxy ensures a resilient connection while allowing for robust health checks through the proxy. Option B does not meet the requirement for resilience, and options D and E do not utilize the sidecar proxy for health checks, which is essential for this setup.