QuestionQ167

Integrating applications with Google Cloud services

You manage an application running on a Compute Engine instance. You also have multiple backend services running in standalone Docker containers on Compute Engine instances. The Compute Engine instances that support the backend services are scaled by managed instance groups across multiple regions.

You want the calling application to be loosely coupled. You need to invoke separate service implementations selected according to the value of an HTTP header in the request. Which Google Cloud feature should you use to invoke the backend services?

  • A Traffic Director
  • B Service Directory
  • C Anthos Service Mesh
  • D Internal HTTP(S) Load Balancing
Explanation

Traffic Director provides service-mesh traffic management for Compute Engine workloads. Its HTTP routing rules can match request headers and route traffic to the appropriate backend service, while allowing the client application to call a service abstraction instead of selecting specific service endpoints or implementations. It supports backend selection across managed instance groups in multiple regions.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!