nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #84

You have an application running in Google Kubernetes Engine (GKE) with cluster autoscaling enabled. The application exposes a TCP endpoint. There are several replicas of this application. You have a C

The correct answer is C. 1. In GKE, create a Service of type LoadBalancer that uses the application's Pods as backend.. You have to set load balancer as internal otherwise it will get exposed on public internet.

Submitted by ashley.k· Mar 30, 2026Planning and configuring a cloud solution

Question

You have an application running in Google Kubernetes Engine (GKE) with cluster autoscaling enabled. The application exposes a TCP endpoint. There are several replicas of this application. You have a Compute Engine instance in the same region, but in another Virtual Private Cloud (VPC), called gce- , that has no overlapping IP ranges with the first VPC. This instance needs to connect to the network application on GKE. You want to minimize effort. What should you do?

Options

  • A
    1. In GKE, create a Service of type LoadBalancer that uses the application's Pods as backend.
  • B
    1. In GKE, create a Service of type NodePort that uses the application's Pods as backend.
  • C
    1. In GKE, create a Service of type LoadBalancer that uses the application's Pods as backend.
  • D
    1. In GKE, create a Service of type LoadBalancer that uses the application's Pods as backend.

How the community answered

(55 responses)
  • A
    20% (11)
  • B
    4% (2)
  • C
    67% (37)
  • D
    9% (5)

Explanation

You have to set load balancer as internal otherwise it will get exposed on public internet.

Topics

#GKE services#VPC peering#cross-VPC connectivity#LoadBalancer

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice