An enterprise cloud security architect is documenting the evaluation order for Google Cloud Identity and Access Management (IAM) permissions. When a principal requests access to a Google Cloud resource, IAM evaluates policies hierarchically. Place the following evaluation steps in the correct order, starting from the initial policy evaluation check to the final access decision.
- 1Evaluate IAM Deny policies across all parent hierarchy nodes (Organization, Folder, Project); if a matching Deny rule exists, immediately block access.
- 2Evaluate inherited IAM Allow policy bindings at the Organization node level.
- 3Evaluate IAM Allow policy bindings at intermediate Folder and Project levels.
- 4Evaluate resource-level IAM Allow policy bindings directly on the target resource.
- 5Grant access if at least one matching Allow policy grants the required permission, otherwise enforce an implicit deny.
Answer
The correct evaluation sequence begins with checking IAM Deny policies across the hierarchy, followed by evaluating IAM Allow policy inheritance top-down from Organization to Folder/Project, checking target resource-level IAM Allow policies, and concluding with a final decision that defaults to implicit deny unless an Allow policy matches.
Google Cloud evaluates authorization requests by first checking IAM Deny policies at all hierarchy levels. If no Deny policy blocks the request, IAM checks for Allow policy bindings starting at the top of the resource hierarchy (Organization node), moving down through intermediate Folder and Project nodes, and finally checking resource-level policies. If any evaluated Allow policy grants the required permission, access is granted; otherwise, an implicit deny is enforced.
Step-by-Step Solution
Key Concept
Google Cloud IAM Policy Evaluation Logic and Resource Hierarchy Inheritance