
Answer-first summary for fast verification
Answer: Use Cloud Build to automate building container images from code based on Git tags.
The question focuses on automating the build process to catch bugs early. Cloud Build is Google's CI/CD tool designed for building, testing, and validating code changes. Using Git tags as triggers ensures builds are tied to specific code versions, enabling efficient testing before deployment. Spinnaker (A, C) is a CD tool for deployment, not building/testing. Option D's use of 'forked versions' is less relevant since the code is in Cloud Source Repositories, and Git tags are more suitable for versioned builds. Thus, B is the correct choice.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your team builds services running on Google Kubernetes Engine, with code stored in Cloud Source Repositories. To rapidly detect bugs before production deployment and enhance developer feedback through automation, what is the most efficient approach to implement?
A
Use Spinnaker to automate building container images from code based on Git tags.
B
Use Cloud Build to automate building container images from code based on Git tags.
C
Use Spinnaker to automate deploying container images to the production environment.
D
Use Cloud Build to automate building container images from code based on forked versions.
No comments yet.