
Answer-first summary for fast verification
Answer: Add an images field, that specifies the docker images to be pushed to container registry, to the Cloud Build config file., Add an artifacts field, that specifies the non-container artifacts to be stored in Cloud Storage, to the Cloud Build config file
The images field and artifacts field in the build config file specify the docker images to be stored in the container registry and the non-container artifacts to be stored in Cloud storage respectively. Options C, D & E are incorrect because there is nothing like a source repository config file. References: https://cloud.google.com/build/docs/build-config#images, https://cloud.google.com/build/docs/build-config#artifacts
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company has tasked you with setting up a Continuous Integration pipeline. When code is committed to the source repository, the pipeline will build docker containers to be pushed to Container Registry and non-container artifacts to be pushed to Cloud Storage. How would you accomplish this? (select 2)
A
Add an artifacts field, that specifies the non-container artifacts to be stored in Cloud Storage, to the Cloud Build config file
B
Add an images field, that specifies the docker images to be pushed to container registry, to the Cloud Build config file.
C
Add an options field, that specifies the non-container artifacts to be stored in Cloud Storage, to the source repository config file.
D
Add an artifacts field, that specifies the docker images to be pushed to container registry, to the source repository config file
E
Add an images field, that specifies the non-container artifacts to be stored in Cloud Storage, to the source repository config file.
No comments yet.