A project inherited from another team still contains a user with the basic Owner role at the project level. Management wants to follow the principle of least privilege but must ensure the user can continue to do the two tasks they perform regularly:
Grant and revoke IAM roles for other team members at the project level.
Change the project's Cloud Billing account when new cost centers are created. Which single predefined or basic role can fulfill both requirements without giving unnecessary additional permissions?
Replace Owner with IAM Admin (roles/iam.admin); it includes both billing updates and IAM policy changes.
Keep the basic Owner role (roles/owner) on the project for that user.
Replace Owner with Project Billing Manager (roles/billing.projectManager); it covers billing changes and IAM role grants.
Replace Owner with Editor (roles/editor); it already includes billing and IAM permissions.
The ability to change a project's billing account requires the billing.resourceAssociations.* and billing.resourceAssociations.update permissions. Granting or revoking roles on the project requires resourcemanager.projects.setIamPolicy. Among Google-defined roles, only the basic Owner role (roles/owner) contains both sets of permissions. Editor lacks IAM and billing-association permissions, Project Billing Manager (roles/billing.projectManager) can change the billing account but cannot modify IAM policies, and IAM Admin (roles/iam.admin) can manage IAM but has no billing privileges. Therefore, retaining the Owner role is the minimum way to satisfy both tasks with a single role, even though it grants many additional permissions.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the principle of least privilege?
Open an interactive chat with Bash
What permissions does the Owner role provide in Google Cloud Platform (GCP)?
Open an interactive chat with Bash
Can you use custom roles to apply the principle of least privilege in GCP?
Open an interactive chat with Bash
What is the principle of least privilege in cloud security?
Open an interactive chat with Bash
Why does the IAM Admin role not satisfy the requirements for billing updates?
Open an interactive chat with Bash
What are the billing.resourceAssociations permissions, and why are they important for billing updates?
Open an interactive chat with Bash
GCP Associate Cloud Engineer
Configuring access and security
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .