Google Cloud Professional Cloud Architect — Question 134

Your team will start developing a new application using microservices architecture on Kubernetes Engine. As part of the development lifecycle, any code change that has been pushed to the remote develop branch on your GitHub repository should be built and tested automatically. When the build and test are successful, the relevant microservice will be deployed automatically in the development environment. You want to ensure that all code deployed in the development environment follows this process. What should you do?

Answer options

Correct answer: C

Explanation

The correct answer, C, specifies creating a Cloud Build trigger that automates the testing, building, and storing of the container image, followed by a deployment pipeline that ensures only authorized tools can deploy. Options A and B rely on manual steps from developers, which can lead to inconsistency. Option D, while automated, incorrectly relies on Vulnerability Scanning for code tests, which is not a reliable method for ensuring successful builds.