A multinational enterprise structures its Google Cloud environment under an Organization node with top-level folders named Operations and Workloads. The Workloads folder contains two subfolders: Production and Development. The central security compliance team requires continuous visibility to inspect configuration metadata for all Google Cloud resources across the entire company. Meanwhile, an automated deployment system operating from a Virtual Machine in the Operations folder must provision Compute Engine instances and attach pre-existing workload service accounts exclusively within projects in the Development subfolder. You need to design an IAM access control architecture that enforces the principle of least privilege while minimizing operational overhead. Which IAM role assignment strategy should you implement?
- Grant Cloud Asset Viewer (roles/cloudasset.viewer) to the compliance team at the Organization node. Grant Compute Instance Admin (v1) (roles/compute.instanceAdmin.v1) and Service Account User (roles/iam.serviceAccountUser) to the deployment automation service account at the Development folder level.Answer
- BGrant the primitive Viewer role (roles/viewer) to the compliance team at the Organization node. Grant the primitive Editor role (roles/editor) to the deployment automation service account at the Workloads folder level.
- CGrant Cloud Asset Viewer (roles/cloudasset.viewer) to the compliance team at the Organization node. Grant Compute Instance Admin (v1) (roles/compute.instanceAdmin.v1) and Service Account Admin (roles/iam.serviceAccountAdmin) to the deployment automation service account at the Development folder level.
- DGrant Cloud Asset Viewer (roles/cloudasset.viewer) to the compliance team at the Organization node. Rely on folder-level IAM role restrictions to prevent automated workloads from exfiltrating data to external projects, while granting Compute Admin (roles/compute.admin) at the Operations folder level.