ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 231 - Professional Cloud Developer discussion

Report
Export

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?

A.
Remove the step that pushes the container to Artifact Registry.
Answers
A.
Remove the step that pushes the container to Artifact Registry.
B.
Add the ---cache-from argument to the Docker build step in your build config file.
Answers
B.
Add the ---cache-from argument to the Docker build step in your build config file.
C.
Store image artifacts in a Cloud Storage bucket in the same region as the Cloud Run instance.
Answers
C.
Store image artifacts in a Cloud Storage bucket in the same region as the Cloud Run instance.
D.
Deploy a new Docker registry in a VPC and use Cloud Build worker pools inside the VPC to run the build pipeline.
Answers
D.
Deploy a new Docker registry in a VPC and use Cloud Build worker pools inside the VPC to run the build pipeline.
Suggested answer: B

Explanation:

https://cloud.google.com/build/docs/optimize-builds/speeding-up-builds#using_a_cached_docker_image

asked 18/09/2024
Arthur Khaha
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first