nerdexam
Google

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #117

Several teams in your company want to use Cloud Build to deploy to their own Google Kubernetes Engine (GKE) clusters. The clusters are in projects that are dedicated to each team. The teams only have

The correct answer is C. In each team's project, list the service accounts and identify the one used by Cloud Build for each. A is not correct because, even if you authenticated yourself with the gcloud CLI, Cloud Build runs with its own service account, and not your identity. B is not correct because this grants access to all the clusters, for all the teams. C is correct because this ensures that each

Submitted by tyler.j· Apr 18, 2026Building and implementing CI/CD pipelines for a service

Question

Several teams in your company want to use Cloud Build to deploy to their own Google Kubernetes Engine (GKE) clusters. The clusters are in projects that are dedicated to each team. The teams only have access to their own projects. One team should not have access to the cluster of another team. You are in charge of designing the Cloud Build setup, and want to follow Google-recommended practices. What should you do?

Options

  • ALimit each team member's access so that they only have access to their team's clusters. Ask
  • BCreate a single project for Cloud Build that all the teams will use. List the service accounts in this
  • CIn each team's project, list the service accounts and identify the one used by Cloud Build for each
  • DIn each team's project, create a service account, download a JSON key for that service account,

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    10% (3)
  • C
    81% (25)
  • D
    6% (2)

Explanation

A is not correct because, even if you authenticated yourself with the gcloud CLI, Cloud Build runs with its own service account, and not your identity. B is not correct because this grants access to all the clusters, for all the teams. C is correct because this ensures that each team cannot execute builds that touch another team's D is not correct because this grants access to all the clusters, for all the teams. https://cloud.google.com/cloud-build/docs/securing-builds/configure-access-control

Topics

#Cloud Build#IAM#Service Accounts#Multi-project Architecture

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Practice