
Ultimate access to all questions.
You are building a JPEG image-resizing API deployed on Google Kubernetes Engine (GKE). Clients calling the service will run within the same GKE cluster. You need to ensure these clients can retrieve the service's IP address.
What is the correct approach?
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.