CLOUD-DIGITAL-LEADER · Question #408
An organization is deciding on the layout of their resource hierarchy in Google Cloud. They have several projects within a folder. What will happen when user access policies are applied to the folder?
The correct answer is B. The policy will be inherited by the projects and their resources within the folder.. In Google Cloud's resource hierarchy, IAM policies applied to a folder are inherited by all projects within that folder and by the resources within those projects.
Question
An organization is deciding on the layout of their resource hierarchy in Google Cloud. They have several projects within a folder. What will happen when user access policies are applied to the folder?
Options
- AThe policy will be inherited by the projects in the folder but will not affect their resources.
- BThe policy will be inherited by the projects and their resources within the folder.
- CThe policy will be applied to all folders within the organization.
- DThe policy applies to the folder only, and will not be inherited by any projects.
How the community answered
(40 responses)- A3% (1)
- B88% (35)
- C3% (1)
- D8% (3)
Why each option
In Google Cloud's resource hierarchy, IAM policies applied to a folder are inherited by all projects within that folder and by the resources within those projects.
Inheritance in Google Cloud IAM applies to both projects and their underlying resources, not just the projects themselves.
Google Cloud IAM uses a hierarchical policy inheritance model where policies flow downward from organization to folders to projects to resources. When a policy is set on a folder, every project inside that folder and every resource inside those projects inherits that policy. This ensures consistent access control without needing to re-apply policies at every level.
A policy on a folder applies only within that folder's subtree; it does not propagate to sibling folders or the entire organization.
Policies on a folder are explicitly inherited by child projects and resources; they do not stop at the folder boundary.
Concept tested: Google Cloud IAM policy inheritance in resource hierarchy
Source: https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy
Topics
Community Discussion
No community discussion yet for this question.