Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud Security Engineer practice bank has 1,343 more like it. Try 10 free: instant score, no account.
A multinational financial services enterprise is preparing for an annual regulatory compliance audit. The security engineering team needs to determine every principal—including individual users, nested Google Groups, and service accounts—that possesses effective storage.objects.get or storage.objects.setIamPolicy permissions on specific sensitive Cloud Storage buckets across multiple production projects.
Access to these buckets may be granted directly at the bucket level, inherited from parent folders or the organization root, or granted indirectly through custom IAM roles and group memberships.
Which approach should the security engineering team use to evaluate these effective access paths with minimal operational overhead?
Policy Analyzer is a core component of Google Cloud's Policy Intelligence suite (integrated with Cloud Asset Inventory) designed to evaluate and understand effective IAM permissions across complex resource hierarchies. It answers critical security questions such as "Who has what access to which resources?" by performing deep analysis of IAM policies, role definitions, and group memberships.
storage.objects.get and storage.objects.setIamPolicy), and maps every individual principal to the exact authorization path.Policy Analyzer natively computes the transitive closure of all IAM policies, custom role definitions, and Google Group hierarchies across the entire resource tree, delivering complete visibility into effective access in a single query.
IAM Recommender is a Policy Intelligence tool that uses machine learning and historical activity logs (past 90 days) to identify excess permissions and recommend smaller, safer role assignments to enforce least privilege.
The requirement was to identify unused permissions across service accounts and automatically downscope broad roles based on historical usage metrics.
gcloud storage buckets get-iam-policy command recursively across all production projects and parse the output with a script.The gcloud storage buckets get-iam-policy command retrieves the resource-level IAM policy directly attached to an individual Cloud Storage bucket.
group:finance-team@example.com) without resolving underlying member identities or nested group structures.roles/custom.dataViewer) rather than evaluating whether the role currently contains the target storage.objects.get permission.The compliance team only needed to inspect direct bucket-level access control lists without accounting for organization-wide inheritance, group members, or custom role definitions.
storage.googleapis.com/Bucket asset creations and export changes to Pub/Sub.Cloud Asset Inventory real-time feeds monitor resource and IAM policy metadata changes as they occur and publish event notifications to Pub/Sub topics for reactive processing.
The security team needed to trigger an automated alert or Cloud Function whenever an IAM policy on a storage bucket was modified.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated