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 Professional Cloud Developer Exam - Topic 14 Question 98 Discussion

Actual exam question for Google's Professional Cloud Developer exam
Question #: 98
Topic #: 14
[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:

0/2000 characters
Helaine
6 days ago
Removing the push step? That sounds risky!
upvoted 0 times
...
Edna
12 days ago
I think option B is the best choice for caching.
upvoted 0 times
...
Lenna
17 days ago
I practiced a similar question where using a VPC for builds was suggested, but I wonder if that's overkill for just optimizing deployment.
upvoted 0 times
...
Kristin
23 days ago
I think storing artifacts in a Cloud Storage bucket could help with latency, but I'm not confident if it really speeds up deployment times.
upvoted 0 times
...
Breana
28 days ago
I'm not entirely sure, but removing the push step sounds risky. We need the image in Artifact Registry, right?
upvoted 0 times
...
Lindsey
1 month ago
I remember we discussed the importance of caching in Docker builds, so option B might be the right choice.
upvoted 0 times
...
Michal
1 month ago
Ah, the cache-from argument could be really helpful here. That might allow us to reuse cached layers from previous builds and cut down on build time. I'll take a closer look at option B.
upvoted 0 times
...
Martina
1 month ago
Okay, I think I've got a strategy here. Removing the Artifact Registry push step seems like the most straightforward way to speed things up, since we're already deploying to Cloud Run. I'll go with option A.
upvoted 0 times
...
Isabelle
1 month ago
Hmm, I'm a bit confused by the question. I'm not sure which step is causing the unnecessary delay. I'll need to do some research on Cloud Build and Cloud Run to figure this out.
upvoted 0 times
...
Lore
1 month ago
This looks like a tricky one. I'll need to carefully review the Cloud Build pipeline and think through the different options to optimize deployment times.
upvoted 0 times
...
Augustine
11 months ago
Haha, I bet the person who came up with option D was just trying to make the question more complex. Let's keep it simple and go with option B!
upvoted 0 times
Renay
10 months ago
User 4: Option B it is then, let's keep it simple.
upvoted 0 times
...
Floyd
10 months ago
User 3: Removing unnecessary steps is always a good idea.
upvoted 0 times
...
Sharika
11 months ago
User 2: Sounds good, that will help optimize deployment times.
upvoted 0 times
...
Fabiola
11 months ago
User 1: I agree, let's go with option B.
upvoted 0 times
...
...
Latrice
12 months ago
Option C is an interesting idea, but I'm not sure if storing the image artifacts in a Cloud Storage bucket will make a significant difference in deployment times.
upvoted 0 times
...
Louis
12 months ago
I agree with Daron. Storing image artifacts in a Cloud Storage bucket in the same region as the Cloud Run instance could also help optimize deployment times.
upvoted 0 times
...
Lai
12 months ago
I'm not a fan of option D. Creating a new Docker registry and VPC just for this build pipeline seems like overkill to me.
upvoted 0 times
Hyman
11 months ago
C) Store image artifacts in a Cloud Storage bucket in the same region as the Cloud Run instance.
upvoted 0 times
...
Alex
11 months ago
B) Add the --cache-from argument to the Docker build step in your build config file.
upvoted 0 times
...
Georgiann
11 months ago
A) Remove the step that pushes the container to Artifact Registry.
upvoted 0 times
...
...
Daron
12 months ago
I disagree. I believe adding the ---cache-from argument to the Docker build step would be more efficient.
upvoted 0 times
...
Cassie
12 months ago
Option B sounds like a good way to optimize deployment times. Caching the Docker build steps can definitely speed things up.
upvoted 0 times
Jeannine
11 months ago
User 4: Storing image artifacts in a Cloud Storage bucket can also help with optimization.
upvoted 0 times
...
Judy
11 months ago
User 3: Removing unnecessary steps can really make a difference in the pipeline.
upvoted 0 times
...
Pamella
11 months ago
User 2: I agree. It's important to optimize deployment times.
upvoted 0 times
...
Marilynn
12 months ago
User 1: Option B sounds like a good idea. Caching can definitely speed things up.
upvoted 0 times
...
...
Winifred
1 year ago
I think we should remove the step that pushes the container to Artifact Registry.
upvoted 0 times
...

Save Cancel