PROFESSIONAL-CLOUD-DEVELOPER · Question #24
PROFESSIONAL-CLOUD-DEVELOPER Question #24: Real Exam Question with Answer & Explanation
The correct answer is A: Use Cloud Build with a trigger configured for each source code commit.. https://cloud.google.com/build/docs/automating-builds/create-manage- triggers#:~:text=A%20Cloud%20Build%20trigger%20automatically,changes%20that%20match% 20certain%20criteria
Question
Your company stores their source code in a Cloud Source Repositories repository. Your company wants to build and test their code on each source code commit to the repository and requires a solution that is managed and has minimal operations overhead. Which method should they use?
Options
- AUse Cloud Build with a trigger configured for each source code commit.
- BUse Jenkins deployed via the Google Cloud Platform Marketplace, configured to watch for source
- CUse a Compute Engine virtual machine instance with an open source continuous integration tool,
- DUse a source code commit trigger to push a message to a Cloud Pub/Sub topic that triggers an
Explanation
https://cloud.google.com/build/docs/automating-builds/create-manage- triggers#:~:text=A%20Cloud%20Build%20trigger%20automatically,changes%20that%20match% 20certain%20criteria
Topics
Community Discussion
No community discussion yet for this question.