Medium1 markMultiple Choice

GCP ACE · Question 02 · Domain 1.1: Setting up cloud projects and accounts

You are managing access to a GCP project. You need to grant 15 developers the ability to view Compute Engine instances. The development team frequently has members joining and leaving.

What is the MOST efficient way to manage their access?

Answer options:

A.

Grant the Compute Viewer role to each developer's individual Google account.

B.

Create a Google Group, add the developers to the group, and grant the Compute Viewer role to the group.

C.

Create a Service Account, grant it the Compute Viewer role, and share the Service Account keys with the developers.

D.

Grant the primitive Viewer role to the entire project for all developers.

How to approach this question

Look for the solution that minimizes operational overhead while maintaining security best practices (least privilege and individual accountability).

Full Answer

B.Create a Google Group, add the developers to the group, and grant the Compute Viewer role to the group.✓ Correct
Create a Google Group, add the developers to the group, and grant the Compute Viewer role to the group.
Google Cloud best practices dictate using Google Groups to manage access for teams. This decouples IAM policy management from user lifecycle management. When a user leaves, you remove them from the group, instantly revoking their access across all projects where the group has roles.

Common mistakes

Choosing individual user assignment, which does not scale well.

Practice the full GCP Associate Cloud Engineer Practice Exam 2

50 questions · hints · full answers · grading

More questions from this exam