A cloud administrator needs to grant a user the minimum predefined IAM roles required to link an existing Google Cloud project to an active Cloud Billing account. Which combination of IAM roles should be assigned to fulfill this requirement according to the principle of least privilege?
- Billing Account User (roles/billing.user) on the billing account and Project Billing Manager (roles/billing.projectManager) on the projectAnswer
- BBilling Account User (roles/billing.user) on the billing account and Project Viewer (roles/viewer) on the project
- CBilling Account Administrator (roles/billing.admin) on the billing account and Project Owner (roles/owner) on the project
- DBilling Account Creator (roles/billing.creator) on the organization and Project Billing Manager (roles/billing.projectManager) on the project
Answer
Assigning Billing Account User on the billing account and Project Billing Manager on the project provides the minimum required permissions to link a project to an existing billing account.
Linking an existing project to a Cloud Billing account requires permissions on both resources: Billing Account User (roles/billing.user) grants authority to associate the billing account with projects, while Project Billing Manager (roles/billing.projectManager) grants authority to manage the billing link on the project itself. This combination adheres strictly to the principle of least privilege.
Step-by-Step Solution
Key Concept
Least-privilege IAM roles required for linking Google Cloud projects to billing accounts
Estimated Time:45s