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
Question
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)- A3% (1)
- B10% (3)
- C81% (25)
- D6% (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
Community Discussion
No community discussion yet for this question.