Practice free →
HomeGCP Associate Cloud Engineercloudcomputinggcpsetup › A team wants to grant a contractor read-only acc…

A team wants to grant a contractor read-only access to a single Cloud Storage bucket and nothing else in the project. What's the LEAST-privilege IAM approach?

AGrant the contractor `roles/billing.admin` at the Organization scope
BShare the project's service-account JSON key over email
CGrant the contractor the `roles/storage.objectViewer` role at the BUCKET scope (or via a Conditional binding)
DGrant the contractor `roles/owner` at the Project level so they can browse around
Answer & Solution
Correct answer: C. Grant the contractor the `roles/storage.objectViewer` role at the BUCKET scope (or via a Conditional binding)
Bucket-scoped `storage.objectViewer` gives read-only access exactly where needed. Project Owner or Org-wide Billing Admin grossly over-grant; sharing service-account keys over email is a credential leak and grants way more than read.
Solve this in the app — GCP Associate Cloud Engineer practice & 24k+ MCQs →
Related questions