
Answer-first summary for fast verification
Answer: Incorporate an Artifacts field in your build config file, specifying the bucket location for artifact storage and the path to one or more artifacts.
The correct approach is to use the Artifacts field in the build config file to specify the storage location for non-container artifacts. The Images field is intended for Docker images to be pushed to Container Registry, the substitutions field is for variable substitution at build time, and the Options field is for optional arguments like env, volumes, and secretEnv. For more details, refer to the artifacts documentation.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Imagine you're developing a serverless application using Cloud Build, with a requirement to store all non-container artifacts in Cloud Storage. How would you fulfill this requirement?
A
Include an Images field in your build config file, detailing the bucket location for artifact storage and the path to one or more artifacts.
B
Incorporate an Artifacts field in your build config file, specifying the bucket location for artifact storage and the path to one or more artifacts.
C
Add a substitutions field in your build config file, with the bucket location for artifact storage and the path to one or more artifacts.
D
Insert an Options field in your build config file, including the bucket location for artifact storage and the path to one or more artifacts.
No comments yet.