
Answer-first summary for fast verification
Answer: Include an Artifacts field in your build configuration file, specifying the bucket location for artifact storage and the path to one or more artifacts.
The Artifacts field in the build configuration file is designated for specifying the storage location of non-container artifacts. Option A is incorrect because the Images field is used for specifying Docker images to be pushed by Cloud Build to Container Registry. Option B is incorrect as the substitutions field is utilized for substituting specific variables at build time. Option C is incorrect since the Options field is reserved for optional arguments such as env, volumes, and secretEnv. For more details, refer to: [Cloud Build Documentation](https://cloud.google.com/build/docs/build-config#artifacts).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are tasked with developing a fully serverless application using Cloud Build. There's a specific requirement to store all non-container artifacts in Cloud Storage. How would you fulfill this requirement?
A
Include an Images field in your build configuration file, specifying the bucket location for artifact storage and the path to one or more artifacts.
B
Include a substitutions field in your build configuration file, specifying the bucket location for artifact storage and the path to one or more artifacts.
C
Include an Options field in your build configuration file, specifying the bucket location for artifact storage and the path to one or more artifacts.
D
Include an Artifacts field in your build configuration file, specifying the bucket location for artifact storage and the path to one or more artifacts.
No comments yet.