Google Cloud Professional Cloud DevOps Engineer — Question 54
Some of your production services are running in Google Kubernetes Engine (GKE) in the eu-west-1 region. Your build system runs in the us-west-1 region. You want to push the container images from your build system to a scalable registry to maximize the bandwidth for transferring the images to the cluster. What should you do?
Answer options
- A. Push the images to Google Container Registry (GCR) using the gcr.io hostname.
- B. Push the images to Google Container Registry (GCR) using the us.gcr.io hostname.
- C. Push the images to Google Container Registry (GCR) using the eu.gcr.io hostname.
- D. Push the images to a private image registry running on a Compute Engine instance in the eu-west-1 region.
Correct answer: C
Explanation
The correct answer is C because using the eu.gcr.io hostname allows the images to be stored in the same region as the production services, optimizing transfer speed. Options A and B would not take advantage of regional proximity, potentially leading to slower image transfers. Option D introduces unnecessary complexity and may not provide the same level of scalability as Google Container Registry.