A healthcare enterprise uses a Google Cloud resource hierarchy consisting of an Organization node, Department Folders, and nested Environment Folders ('Production' and 'Development'). A third-party security compliance system requires read-only access to inspect resource configurations, organizational security settings, and IAM access control lists across all Production projects, but must not be permitted to read underlying customer payload data in Cloud Storage or BigQuery. Which IAM role assignment strategy follows Google-recommended best practices for least privilege and operational efficiency?
- Grant the predefined Security Reviewer role (roles/iam.securityReviewer) to the compliance system service account on the Production Environment Folder.Cevap
- BGrant the primitive Viewer role (roles/viewer) to the compliance system service account on each individual Project node inside the Production Environment Folder.
- CGrant the Service Account Admin role (roles/iam.serviceAccountAdmin) to the compliance system service account at the Organization node level.
- DGrant the Storage Object Viewer role (roles/storage.objectViewer) and BigQuery Data Viewer role (roles/bigquery.dataViewer) at the Production Environment Folder level, relying on IAM policy restrictions alone to prevent data exfiltration.
Cevap
Grant the predefined Security Reviewer role (roles/iam.securityReviewer) to the compliance system service account on the Production Environment Folder.
The predefined Security Reviewer role (roles/iam.securityReviewer) is specifically tailored for security auditing and compliance tools. It permits viewing security configurations, IAM policies, and asset metadata across resources. By assigning this role at the Production Environment Folder level, IAM policy inheritance automatically applies the permission to all existing and future projects beneath that folder, avoiding project-level management overhead and preventing exposure to raw stored data.
Adım Adım Çözüm
Anahtar Kavram
Identity and Access Management (IAM) Roles and Resource Hierarchy Inheritance