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 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
4 months ago
Storing image artifacts in a Cloud Storage bucket could also be a good option, though.
upvoted 0 times
...
Cyril
5 months ago
Yes, adding the ---cache-from argument makes sense.
upvoted 0 times
...
Kristian
5 months ago
I believe option B) is the way to go for optimizing deployment.
upvoted 0 times
...
Kiley
5 months ago
I agree. Removing unnecessary steps will help.
upvoted 0 times
...
Cyril
5 months ago
I think we should optimize deployment times.
upvoted 0 times
...
Mariann
6 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
6 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
6 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
6 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
5 months ago
C) Store image artifacts in a Cloud Storage bucket in the same region as the Cloud Run instance.
upvoted 0 times
...
Mattie
5 months ago
Agreed, caching will definitely help us avoid unnecessary steps and speed up the deployment.
upvoted 0 times
...
Jutta
5 months ago
B) Add the --cache-from argument to the Docker build step in your build config file.
upvoted 0 times
...
Janessa
6 months ago
I don't think that's necessary. Caching the Docker builds seems like a better optimization.
upvoted 0 times
...
Rickie
6 months ago
A) Remove the step that pushes the container to Artifact Registry.
upvoted 0 times
...
Tammi
6 months ago
I think that's a great idea. It will definitely speed up the deployment process.
upvoted 0 times
...
Virgina
6 months ago
B) Add the --cache-from argument to the Docker build step in your build config file.
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77