Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Exam Professional Cloud Developer Topic 10 Question 76 Discussion

Actual exam question for Google's Professional Cloud Developer exam
Question #: 76
Topic #: 10
[All Professional Cloud Developer Questions]

You are deploying a Python application to Cloud Run using Cloud Build. The Cloud Build pipeline is shown below:

You want to optimize deployment times and avoid unnecessary steps What should you do?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Kiley
6 months ago
Storing image artifacts in a Cloud Storage bucket could also be a good option, though.
upvoted 0 times
...
Cyril
7 months ago
Yes, adding the ---cache-from argument makes sense.
upvoted 0 times
...
Kristian
7 months ago
I believe option B) is the way to go for optimizing deployment.
upvoted 0 times
...
Kiley
7 months ago
I agree. Removing unnecessary steps will help.
upvoted 0 times
...
Cyril
7 months ago
I think we should optimize deployment times.
upvoted 0 times
...
Mariann
8 months ago
Storing the image artifacts in a Cloud Storage bucket in the same region as the Cloud Run instance makes sense to me. Gotta keep those latencies low!
upvoted 0 times
...
Myrtie
8 months ago
Oooh, using the cache-from argument for the Docker build step sounds promising. That could really speed things up.
upvoted 0 times
...
Catarina
8 months ago
Haha, yeah, that last option is a bit like using a sledgehammer to crack a nut. I'd go with either A or B, personally.
upvoted 0 times
...
Dominga
8 months ago
I agree, B seems like the best option here. Caching those Docker builds is gonna save us a ton of time. Plus, it's a pretty straightforward change to the build config.
upvoted 0 times
Margo
7 months ago
C) Store image artifacts in a Cloud Storage bucket in the same region as the Cloud Run instance.
upvoted 0 times
...
Mattie
7 months ago
Agreed, caching will definitely help us avoid unnecessary steps and speed up the deployment.
upvoted 0 times
...
Jutta
8 months ago
B) Add the --cache-from argument to the Docker build step in your build config file.
upvoted 0 times
...
Janessa
8 months ago
I don't think that's necessary. Caching the Docker builds seems like a better optimization.
upvoted 0 times
...
Rickie
8 months ago
A) Remove the step that pushes the container to Artifact Registry.
upvoted 0 times
...
Tammi
8 months ago
I think that's a great idea. It will definitely speed up the deployment process.
upvoted 0 times
...
Virgina
8 months ago
B) Add the --cache-from argument to the Docker build step in your build config file.
upvoted 0 times
...
...

Save Cancel