
Answer-first summary for fast verification
Answer: Establish a new Google Group, include all team members, and assign the Project Viewer role to the group's email address using `gcloud projects add-iam-policy-binding`.
The correct approach is **C** because Google recommends using groups for role assignments to streamline access management. This method is more efficient than individual assignments (Option A) and avoids the unnecessary creation of custom roles (Options B and D), which are not required for this scenario. Refer to the GCP documentation on `gcloud IAM` for more details.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In a small company where every team member needs to view all resources within a specific project, what is the Google-recommended method to grant access efficiently?
A
Develop a script that assigns the Project Viewer role to each user's email address individually using gcloud projects add-iam-policy-binding.
B
Develop a script that creates a custom role for each user's email address with the Project Viewer permissions using gcloud iam roles create.
C
Establish a new Google Group, include all team members, and assign the Project Viewer role to the group's email address using gcloud projects add-iam-policy-binding.
D
Establish a new Google Group, include all team members, and create a custom role with the Project Viewer permissions for the group's email address using gcloud iam roles create.
No comments yet.