Professional Cloud Security Engineer
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.
An enterprise organizes its Google Cloud resources under an Engineering parent folder, which contains two subfolders: Development and Production. A security auditor discovers that the group dev-team@example.com is currently bound to the Compute Instance Admin role (roles/compute.instanceAdmin) directly on the Engineering folder.
The security team must enforce the following access requirements:
Development folder.roles/compute.viewer) for Compute Engine instances within projects located in the Production folder.Which architectural change should the security team implement to satisfy these access requirements?
Scoped role assignment involves applying IAM allow policies at the most granular, appropriate container level within the resource hierarchy rather than at an overly broad parent node.
roles/compute.instanceAdmin directly on the Development folder ensures that all child projects and Compute Engine instances beneath it inherit instance administration permissions.roles/compute.viewer directly on the Production folder provides developer access to view infrastructure without inheriting administrative permissions from a parent folder.Engineering folder) prevents unwanted permissions from propagating down into production workloads.In Google Cloud IAM, allow policies are strictly additive and inherited downwards through the resource hierarchy. A child resource's effective policy is the union of all allow policies attached to the resource and its ancestors. Because an allow policy at a child level cannot revoke, restrict, or override an inherited allow permission from a higher level, removing the high-privilege grant from the parent node and scoping distinct roles at the child folder level is the standard and correct approach.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.