A financial enterprise utilizes a Google Cloud resource hierarchy consisting of an Organization node, a 'Core-Payments' Folder containing multiple production workload projects, and a separate 'SecOps-Central' Project. An automated security auditing tool deployed on a Compute Engine instance in 'SecOps-Central' requires visibility to inspect resource configurations and dataset metadata across all projects in the 'Core-Payments' folder without accessing sensitive underlying records. Additionally, developers assigned to individual projects under 'Core-Payments' must be prevented from attached execution or privilege elevation through this auditing service account. Which IAM role assignment and hierarchy strategy adheres to Google Cloud recommended security practices while minimizing operational complexity?
- Grant the predefined roles roles/browser and roles/bigquery.metadataViewer along with roles/storage.bucketViewer to the auditing service account at the 'Core-Payments' folder level, and refrain from granting project developers the roles/iam.serviceAccountUser role on the service account.Answer
- BGrant the primitive roles/viewer role to the auditing service account at the 'Core-Payments' folder level, and grant developers the roles/iam.serviceAccountUser role on the service account.
- CGrant specific predefined metadata viewer roles to the auditing service account at the folder level, and grant developers the roles/iam.serviceAccountAdmin role on the service account to manage its configuration.
- DGrant the roles/storage.admin and roles/bigquery.admin roles to the auditing service account at the project level for each project, relying strictly on IAM policies rather than perimeter controls to prevent data exfiltration.