Many teams create multiple GCP projects and each project needs specific access. Central IT must access all projects and Cloud Storage/BigQuery data must be shared ad hoc. To minimize IAM policies, which two steps should you take?
Choose an answer
Tap an option to check your answer.
Correct answer: Introduce a resource hierarchy (folders/organizations) to leverage IAM inheritance., Create distinct groups per team and reference those groups in IAM policies..
Why this is the answer
Introducing a resource hierarchy (folders/organizations) allows you to apply IAM policies at a higher level, and these policies are inherited by all resources within that hierarchy. This significantly reduces the number of individual policies needed. Creating distinct groups per team and referencing these groups in IAM policies simplifies management because you only need to update the group membership, not individual policies, when team members change. Using service accounts for sharing data is not a general solution for minimizing IAM policies across projects. Enumerating projects and users for each resource would lead to a large number of complex, difficult-to-manage policies, directly contradicting the goal of minimizing them.
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