QuestionQ8

Deploying and implementing a cloud solution

You have created an application that is packaged into a Docker image. You want to deploy the Docker image as a workload on Google Kubernetes Engine. What should you do?

  • A Upload the image to Cloud Storage and create a Kubernetes Service referencing the image.
  • B Upload the image to Cloud Storage and create a Kubernetes Deployment referencing the image.
  • C Upload the image to Artifact Registry and create a Kubernetes Service referencing the image.
  • D Upload the image to Artifact Registry and create a Kubernetes Deployment referencing the image.
Explanation

Artifact Registry is the Google-recommended container repository (Cloud Storage is not a registry). A Kubernetes Deployment creates and manages the pods running the container; a Service only handles networking. The deployment references the Artifact Registry image URI.

Community Discussion

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