An administrator grants a cloud engineer the Viewer (roles/viewer) role on a Google Cloud folder named 'Development'. The folder contains three environment projects. The administrator attempts to restrict access by removing the Viewer role from the engineer specifically on one of the child projects. Which statement correctly describes the outcome of this action?
- The engineer retains Viewer access to the child project because IAM policies are additive and inherited parent permissions cannot be revoked at a lower resource level.Cevap
- BThe engineer loses Viewer access on that child project because resource-level IAM policies take precedence over inherited folder-level policies.
- CThe engineer loses Viewer access across all projects in the folder because explicitly removing a role from a child resource generates an explicit deny policy.
- DThe engineer retains Viewer access only if they have also been assigned a primitive Owner role at the Organization node level.
Cevap
The engineer retains Viewer access to the child project because IAM policies are additive and inherited parent permissions cannot be revoked at a lower resource level.
In the Google Cloud resource hierarchy, IAM policies are inherited downward from Organization to Folders and then to Projects. Because IAM policy evaluation is strictly additive, permissions granted at a parent level are automatically effective on all child resources and cannot be restricted or revoked at a lower level.
Adım Adım Çözüm
Anahtar Kavram
Resource Hierarchy IAM Policy Inheritance