After the command completed successfully, users in the group still cannot list objects in the Cloud Storage bucket gs://reports. Which required IAM policy-binding component did you forget to specify correctly, causing the binding to have no effect?
The principal (member) to receive the permissions
An IAM condition that limits when the role is active
The specific Google Cloud resource that the policy must be attached to
An IAM binding always ties three pieces together: the principal (member), the role, and the resource the policy is attached to. The JSON snippet defines the role and the principal, but you did not apply the policy to the gs://reports bucket. Setting the policy at a different level (for example, only retrieving and re-writing the JSON without targeting the bucket) leaves the bucket's own policy unchanged, so the group lacks permissions on that bucket. The omission is therefore the resource component. The other options are present (role and principal) or not required (a condition).
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 an IAM binding in Google Cloud?
Open an interactive chat with Bash
What is the difference between setting an IAM policy at the resource level versus a higher level (like a project)?
Open an interactive chat with Bash
How does the `gcloud iam set-iam-policy` command work?
Open an interactive chat with Bash
What does 'resource' mean in the context of IAM policies in Google Cloud?
Open an interactive chat with Bash
How do you specify the correct resource when applying an IAM policy in gcloud commands?
Open an interactive chat with Bash
Can IAM policies be applied at different levels in the Google Cloud hierarchy?
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 .