
Explanation:
Options A and B are correct. The images field in the Cloud Build config file specifies Docker images for Container Registry, while the artifacts field details non-container artifacts for Cloud Storage. Options C, D, and E are incorrect as there is no such thing as a source repository config file. For more details, refer to Google Cloud Build documentation on build configuration.
Ultimate access to all questions.
Your company has assigned you the task of establishing a Continuous Integration pipeline. This pipeline is designed to automatically build Docker containers for pushing to Container Registry and non-container artifacts for Cloud Storage upon code commit to the source repository. Which two methods would you employ to achieve this?
A
Incorporate an images field within the Cloud Build configuration file to specify the Docker images intended for Container Registry.
B
Include an artifacts field in the Cloud Build configuration file to detail the non-container artifacts destined for Cloud Storage.
C
Utilize an images field in the source repository configuration file to list the Docker images for Container Registry.
D
Apply an artifacts field in the source repository configuration file to outline the non-container artifacts for Cloud Storage.
E
Embed an options field in the source repository configuration file to define the non-container artifacts for Cloud Storage.
No comments yet.