A centralized platform security team is auditing permission boundaries for an infrastructure automation service account (`[email protected]`). The service account is designated solely to attach newly onboarded, existing Google Cloud projects to the enterprise Cloud Billing Account without possessing permissions to modify billing account financial settings or manage compute workloads inside the projects.
Which TWO predefined IAM roles represent the minimum necessary privileges required for this service account to successfully link the projects to the Cloud Billing Account? (Select TWO.)
- Billing Account User (`roles/billing.user`) on the Cloud Billing AccountCevap
- Project Billing Manager (`roles/billing.projectManager`) on the target projects or parent folderCevap
- CBilling Account Administrator (`roles/billing.admin`) on the Cloud Billing Account
- DProject Owner (`roles/owner`) on the target projects
- EBilling Account Viewer (`roles/billing.viewer`) on the Cloud Billing Account
Cevap
To link an existing Google Cloud project to a Cloud Billing Account under the principle of least privilege, a principal requires Billing Account User (`roles/billing.user`) on the billing account and Project Billing Manager (`roles/billing.projectManager`) on the target project or parent resource container.
Linking a project to a Cloud Billing Account requires permissions on both sides of the relationship: the Billing Account User role grants the necessary `billing.resourceAssociations.create` permission on the billing account, while the Project Billing Manager role grants `resourcemanager.projects.createBillingAssignment` on the target project without exposing underlying workload resources or payment settings.
Adım Adım Çözüm
Anahtar Kavram
Dual-sided IAM requirement and least-privilege role selection for linking Google Cloud projects to Cloud Billing Accounts