Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
A financial enterprise uses a multi-tier Google Cloud resource hierarchy structured as follows:
example.com
Engineering
Backend-Services
payment-prod
payment-logsA security administrator reviews the following IAM allow policy bindings for the user auditor@example.com across this lineage:
roles/viewer granted on the Engineering folderroles/storage.objectViewer granted on the Backend-Services folderroles/storage.admin granted on the payment-prod projectTo prevent auditor@example.com from modifying objects in the payment-logs bucket, the administrator removes all bucket-level role bindings so that no direct allow policy is set on payment-logs.
What is the effective permission level of auditor@example.com on the payment-logs bucket, and why?
In Google Cloud, the resource hierarchy organizes resources into a parent-child structure consisting of the organization, folders, projects, and individual service resources. IAM allow policies are attached to these container nodes and are inherited down the tree. The union of all allow policies applied directly to a resource and its ancestors forms the effective allow policy.
payment-prod project), that role automatically propagates to all descendant resources within that container.roles/storage.admin is granted at the payment-prod project level, the user inherits complete control (storage.buckets.* and storage.objects.*) over every bucket in that project, including payment-logs.Understanding that allow policies are strictly cumulative ensures cloud architects recognize that restricting access requires modifying the specific ancestor node where the role was granted, implementing IAM Deny policies, or using separate trust boundaries (projects/folders) to achieve least privilege.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.