GCP Associate Cloud Engineer Practice Question 90: Policy Analyzer Inherited Access

Google Cloud Associate Cloud Engineer · Test 9 · question 10 of 10

IAM & Least Privilegemedium

A security reviewer needs to answer a specific audit question: which principals currently have the storage.buckets.delete permission on a particular Cloud Storage bucket, including any principal that inherits the permission from a role granted at the project, folder, or organization level above that bucket. Which Google Cloud tool is designed to answer this directly?

Select one answer
Show answer and explanation

Answer:

  • C. Policy Analyzer, by querying the resource and permission to list every principal with that access, including access inherited from ancestor resources.

Policy Analyzer, part of Policy Intelligence, is built specifically to answer "who has what access to which resource" queries. Given a resource and a permission or role, it returns every principal with that access, and its "show inherited permissions" option includes principals whose access comes from a role bound on a parent folder, project, or organization rather than on the bucket itself.

Option A shows a historical record of actions that were taken, not a forward-looking answer to who currently could take that action; it also would not surface a principal who has never used the permission yet. Option B recommends removing unused permissions to tighten roles, it does not enumerate current principals with a specific permission on a specific resource. Option D controls network-level data exfiltration boundaries around services, and has nothing to do with listing IAM principals or their inherited access.

Reference: Policy Analyzer for allow policies

Practice Test 9 ›

Study guides for Google Cloud Associate Cloud Engineer