Topic 1 Question 226
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?
Upload the image to Cloud Storage and create a Kubernetes Service referencing the image.
Upload the image to Cloud Storage and create a Kubernetes Deployment referencing the image.
Upload the image to Artifact Registry and create a Kubernetes Service referencing the image.
Upload the image to Artifact Registry and create a Kubernetes Deployment referencing the image.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: D
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.
👍 3pritampanda19882023/08/02 - 正解だと思う選択肢: D
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
👍 3scanner22023/08/26 - 正解だと思う選択肢: D
best choice
👍 13arle2023/08/07
シャッフルモード