ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 66 - Professional Cloud DevOps Engineer discussion

Report
Export

You use Cloud Build to build your application. You want to reduce the build time while minimizing cost and development effort. What should you do?

A.
Use Cloud Storage to cache intermediate artifacts.
Answers
A.
Use Cloud Storage to cache intermediate artifacts.
B.
Run multiple Jenkins agents to parallelize the build.
Answers
B.
Run multiple Jenkins agents to parallelize the build.
C.
Use multiple smaller build steps to minimize execution time.
Answers
C.
Use multiple smaller build steps to minimize execution time.
D.
Use larger Cloud Build virtual machines (VMs) by using the machine-type option.
Answers
D.
Use larger Cloud Build virtual machines (VMs) by using the machine-type option.
Suggested answer: C

Explanation:

https://cloud.google.com/storage/docs/best-practices

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

Caching directories with Google Cloud Storage To increase the speed of a build, reuse the results from a previous build. You can copy the results of a previous build to a Google Cloud Storage bucket, use the results for faster calculation, and then copy the new results back to the bucket. Use this method when your build takes a long time and produces a small number of files that does not take time to copy to and from Google Cloud Storage.

upvoted2times

asked 18/09/2024
Ismaiel Al-Mufleh
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first