Exam4Training

What should you do?

You are developing a JPEG image-resizing API hosted on Google Kubernetes Engine (GKE). Callers of the service will exist within the same GKE cluster. You want clients to be able to get the IP address of the service.

What should you do?
A . Define a GKE Service. Clients should use the name of the A record in Cloud DNS to find the service’s
cluster IP address.
B . Define a GKE Service. Clients should use the service name in the URL to connect to the service.
C . Define a GKE Endpoint. Clients should get the endpoint name from the appropriate environment variable in
the client container.

D . Define a GKE Endpoint. Clients should get the endpoint name from Cloud DNS.

Answer: C

Exit mobile version