Your project contains several Cloud Storage buckets. A data-science Google Group should download objects from only one bucket named "analysis-reports" and must not view or modify any other resources in the project. You will grant the Storage Object Viewer role to the group through an IAM policy binding. To follow the principle of least privilege, on which Google Cloud resource should you apply the binding?
IAM bindings are attached to a single Google Cloud resource. Choosing the most specific resource limits the scope of the granted permissions. Attaching the Storage Object Viewer role to the analysis-reports bucket confines the group's access to that bucket alone. Binding the role at the project or organization level would expose all buckets and other resources. A service account is an identity, not the resource that holds the data, so attaching the policy there would not control access to the bucket itself.
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 in IAM?
Open an interactive chat with Bash
Why is the resource-specific IAM binding better than project-wide binding?
Open an interactive chat with Bash
What is the Storage Object Viewer role in Google Cloud?
Open an interactive chat with Bash
What is the principle of least privilege in cloud IAM?
Open an interactive chat with Bash
How do IAM policy bindings work in Google Cloud?
Open an interactive chat with Bash
What is the Storage Object Viewer role in Google Cloud IAM?
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 .