nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #263

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 tw

The correct answer is A. Use Traffic Director with a sidecar proxy to connect the application to the service. C. Configure the legacy service's firewall to allow health checks originating from the proxy.. Traffic Director with a sidecar proxy (Envoy) is the right solution for resilient cross-cluster, cross-region service mesh connectivity (Choice A). Traffic Director provides advanced load balancing, health checking, and traffic management across GKE clusters. Since sidecar proxie

Service Networking and Traffic Management

Question

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.)

Options

  • AUse Traffic Director with a sidecar proxy to connect the application to the service.
  • BUse a proxyless Traffic Director configuration to connect the application to the service.
  • CConfigure the legacy service's firewall to allow health checks originating from the proxy.
  • DConfigure the legacy service's firewall to allow health checks originating from the application.
  • EConfigure the legacy service's firewall to allow health checks originating from the Traffic Director

How the community answered

(31 responses)
  • A
    81% (25)
  • B
    10% (3)
  • D
    6% (2)
  • E
    3% (1)

Explanation

Traffic Director with a sidecar proxy (Envoy) is the right solution for resilient cross-cluster, cross-region service mesh connectivity (Choice A). Traffic Director provides advanced load balancing, health checking, and traffic management across GKE clusters. Since sidecar proxies handle the actual traffic and health checks on behalf of the application, the legacy service's firewall must allow health check traffic originating from those proxies, not from the application pods directly (Choice C). Choice B (proxyless Traffic Director) does not use a sidecar, making health checks on a separate port more complex. Choice D is incorrect because with a sidecar proxy, health checks come from the proxy, not the application. Choice E is incorrect because Traffic Director is a control plane and does not send health checks itself.

Topics

#Traffic Director#Service Mesh#GKE Networking#Health Checks

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER Practice