nerdexam
Google

PROFESSIONAL-CLOUD-ARCHITECT · Question #219

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 develo

The correct answer is C. Create a Cloud Build trigger based on the development branch that tests the code, builds the. https://codelabs.developers.google.com/codelabs/cloud-builder-gke-continuous-deploy#0

Submitted by andres_qro· Mar 30, 2026Managing implementation

Question

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?

Options

  • AHave each developer install a pre-commit hook on their workstation that tests the code and builds
  • BInstall a post-commit hook on the remote git repository that tests the code and builds the
  • CCreate a Cloud Build trigger based on the development branch that tests the code, builds the
  • DCreate a Cloud Build trigger based on the development branch to build a new container image

How the community answered

(45 responses)
  • A
    4% (2)
  • B
    9% (4)
  • C
    84% (38)
  • D
    2% (1)

Explanation

https://codelabs.developers.google.com/codelabs/cloud-builder-gke-continuous-deploy#0

Topics

#Cloud Build#CI/CD#GKE deployment#branch triggers

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-ARCHITECT Practice