Google
ASSOCIATE-CLOUD-ENGINEER · Question #5
You have a Dockerfile that you need to deploy on Kubernetes Engine. What should you do?
The correct answer is C. Create a docker image from the Dockerfile and upload it to Container Registry.. Create the image prior to deployment: https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-app You cant deploy a docker file
Submitted by klara.se· Mar 30, 2026Deploying and implementing a cloud solution
Question
You have a Dockerfile that you need to deploy on Kubernetes Engine. What should you do?
Options
- AUse kubectl app deploy <dockerfilename>.
- BUse gcloud app deploy <dockerfilename>.
- CCreate a docker image from the Dockerfile and upload it to Container Registry.
- DCreate a docker image from the Dockerfile and upload it to Cloud Storage.
How the community answered
(43 responses)- A9% (4)
- B5% (2)
- C84% (36)
- D2% (1)
Explanation
Create the image prior to deployment: https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-app You cant deploy a docker file
Topics
#Docker#Container Registry#Kubernetes Engine#container deployment
Community Discussion
No community discussion yet for this question.