Deal of The Day! 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

Posted by Trinidad on Nov 23, 2025 at 11:56 AM

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

Suggested Answer: C

Get Premium Associate Cloud Engineer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
30 comments · newest first
SH
Sheridan 6 months ago
Plus, using kubectl with a YAML file is standard practice.
JA
Janessa 6 months ago
Right! Container Registry is designed for this purpose.
ZI
Zita 7 months ago
Option D sounds tempting, but Cloud Storage isn’t ideal for this.
SH
Sheridan 7 months ago
Yeah, C makes sense. You need the image in Container Registry.
AR
Ariel 7 months ago
kubectl app deploy? That's not even a thing!
RO
Royce 7 months ago
Wait, can you really use Cloud Storage for this? Sounds weird!
WI
Wilford 7 months ago
Definitely C, that's the standard process.
NE
Nenita 8 months ago
I think D is a bit off, Cloud Storage isn't the right place for images.
CO
Coral 8 months 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!
WI
Wilson 8 months ago
Option A sounds like something a newbie would try. C is the only way to properly deploy a Dockerfile on Kubernetes.
BE
Berry 8 months ago
Haha, gcloud app deploy? What is this, the 90s? Definitely go with C, the modern way to do this.
AH
Ahmed 9 months ago
I agree, C is the way to go. Uploading the image to Cloud Storage doesn't make sense for a Kubernetes deployment.
SH
Shelia 9 months 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.
FR
Frederica 9 months 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.
PA
Paz 9 months ago
I vaguely recall something about using gcloud for deployments, but I can't remember if it's for App Engine or Kubernetes.
JU
Justa 9 months ago
I feel like option C is the right approach since it mentions creating a Deployment YAML file, which we practiced in class.
MA
Malcolm 9 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.
DE
Demetra 10 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.
LA
Lavelle 10 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.
JA
Janessa 10 months ago
I think option C is the best choice.
GL
Glendora 10 months ago
Option C is the way to go!
LA
Lajuana 11 months ago
I agree, C is the way to go. Deployment YAML is crucial.
RE
Ressie 11 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.
ER
Erick 11 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?
LE
Lezlie 11 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.
SA
Sarah 6 months ago
↳ replying to Lezlie
C is straightforward and efficient. Good choice!
CA
Cassandra 6 months ago
↳ replying to Lezlie
I like C too! It keeps everything organized.
OR
Oretha 6 months ago
↳ replying to Lezlie
C is the best option. Deployment YAML is essential.
CH
Chun 6 months ago
↳ replying to Lezlie
Definitely! Container Registry is the way to go.
RE
Rene 10 months ago
↳ replying to Lezlie
I agree, C makes the most sense. It's a clear process.
0/2000 characters

Save Cancel