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.
A and B are eliminated because Cloud Storage is not a preferred place for storing docker images.
https://cloud.google.com/artifact-registry/docs/docker/store-docker-container-images
C is eliminated because Kubernetes Service is responsible for networking and connectivity between pods and external entities.
Kubernetes Deployment is responsible for deploying and managing an application (running in pods) on your GKE cluster.
https://cloud.google.com/kubernetes-engine/docs/how-to/deploying-workloads-overview#stateless_applications
Artifact Registry is a fully managed container registry that integrates seamlessly with Google Kubernetes Engine and other Google Cloud services. By uploading the Docker image to Artifact Registry, you can create a Kubernetes Deployment that references the image stored in Artifact Registry. This ensures that Kubernetes can pull the image from a trusted and managed source, while the Deployment manages the deployment and scaling of the application pods based on the image.
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
scanner2
Highly Voted 1 year, 3 months agodenno22
Most Recent 1 month, 2 weeks ago3arle
1 year, 3 months agopritampanda1988
1 year, 3 months ago