You are configuring a CI/CD pipeline using Cloud Build. You need to ensure that the build process can access source code from Cloud Source Repositories, build Docker images, and deploy them to GKE. What combination of roles would best suit this requirement without violating the least privilege principle?
Choose an answer
Tap an option to check your answer.
Correct answer: Cloud Build Editor, Kubernetes Engine Developer.
Why this is the answer
*Explanation: To meet the CI/CD pipeline requirements while adhering to the least privilege principle, the recommended roles are **Cloud Build Editor and Kubernetes Engine Developer** (Option A. . These roles grant the necessary permissions for accessing source code, building Docker images, and deploying to GKE without unnecessary privileges. The other options include roles that are either too permissive or don't provide the required access.*
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed