New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Associate Cloud Engineer Exam - Topic 1 Question 112 Discussion

Actual exam question for Google's Associate Cloud Engineer exam
Question #: 112
Topic #: 1
[All Associate Cloud Engineer Questions]

You have a Dockerfile that you need to deploy on Kubernetes Engine. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Nenita
7 hours ago
I think D is a bit off, Cloud Storage isn't the right place for images.
upvoted 0 times
...
Coral
5 days ago
I'm just imagining someone trying to use kubectl to deploy a raw Dockerfile. That's like trying to put a square peg in a round hole!
upvoted 0 times
...
Wilson
11 days ago
Option A sounds like something a newbie would try. C is the only way to properly deploy a Dockerfile on Kubernetes.
upvoted 0 times
...
Berry
16 days ago
Haha, gcloud app deploy? What is this, the 90s? Definitely go with C, the modern way to do this.
upvoted 0 times
...
Ahmed
21 days ago
I agree, C is the way to go. Uploading the image to Cloud Storage doesn't make sense for a Kubernetes deployment.
upvoted 0 times
...
Shelia
26 days ago
Option C is the correct answer. You need to create a Docker image and push it to a container registry, then use that image in a Kubernetes deployment.
upvoted 0 times
...
Frederica
1 month ago
I think we discussed the differences between Container Registry and Cloud Storage, and I believe Container Registry is the way to go for Kubernetes.
upvoted 0 times
...
Paz
1 month ago
I vaguely recall something about using gcloud for deployments, but I can't remember if it's for App Engine or Kubernetes.
upvoted 0 times
...
Justa
1 month ago
I feel like option C is the right approach since it mentions creating a Deployment YAML file, which we practiced in class.
upvoted 0 times
...
Malcolm
2 months ago
I think I remember that we need to create a Docker image first, but I'm not sure if it should go to Container Registry or Cloud Storage.
upvoted 0 times
...
Demetra
2 months ago
I'm leaning towards option C as well. It seems like the most complete and reliable way to get the Dockerfile deployed on Kubernetes Engine.
upvoted 0 times
...
Lavelle
2 months ago
C looks good to me. Uploading the Docker image to Container Registry makes sense since it's a container-specific service, and then using kubectl to deploy the Deployment YAML file is a standard Kubernetes workflow.
upvoted 0 times
...
Janessa
2 months ago
I think option C is the best choice.
upvoted 0 times
...
Glendora
2 months ago
Option C is the way to go!
upvoted 0 times
...
Lajuana
3 months ago
I agree, C is the way to go. Deployment YAML is crucial.
upvoted 0 times
...
Ressie
3 months ago
Option C seems like the best choice here. Keeping the Docker image in Container Registry and using a Deployment YAML file is a common and well-documented approach for Kubernetes deployments.
upvoted 0 times
...
Erick
3 months ago
I'm a bit confused on the difference between Container Registry and Cloud Storage. Is there a specific reason why we would use one over the other in this case?
upvoted 0 times
...
Lezlie
3 months ago
I think C is the way to go. Creating the Docker image and pushing it to Container Registry, then using a Deployment YAML file to deploy it on Kubernetes Engine, seems like the most straightforward approach.
upvoted 0 times
Rene
2 months ago
I agree, C makes the most sense. It's a clear process.
upvoted 0 times
...
...

Save Cancel