Question

Difficulty: MediumConfiguring Storage Access Controls and Uniform Bucket-Level Access

Your organization plans to enforce uniform security policies across all Google Cloud Storage buckets. You need to transition a bucket currently using fine-grained access control to Uniform Bucket-Level Access without interrupting existing user access. In what sequence should you execute these migration steps?

  1. 1Audit existing fine-grained object ACLs to catalog all users and service accounts relying on per-object permissions.
  2. 2Grant equivalent predefined IAM roles (such as Storage Object Viewer) at the bucket level to the identified users and service accounts.
  3. 3Enable Uniform Bucket-Level Access on the Cloud Storage bucket to disable all fine-grained ACLs.
  4. 4Audit access logs and test application workflows to confirm successful access enforcement without permission denied errors.

Answer

The correct sequence begins by auditing existing object ACLs, granting equivalent IAM roles at the bucket level, enabling Uniform Bucket-Level Access on the bucket, and finally validating access through log audits and workflow testing.
The correct process mandates auditing existing ACLs first to determine access needs, granting equivalent IAM roles at the bucket level to prevent downtime, enabling Uniform Bucket-Level Access to enforce bucket-wide IAM controls, and verifying post-migration access using audit logs.

Step-by-Step Solution

1
Audit object ACL permissions on the existing bucket.
Identified all principals relying on fine-grained access control.
Prevents unauthorized access loss by establishing a baseline of required permissions before changing access control models.
2
Assign corresponding bucket-level IAM roles to identified principals.
IAM roles are configured at the bucket level prior to disabling ACLs.
Ensures continuous user access during the transition from ACLs to Uniform Bucket-Level Access.
3
Enable Uniform Bucket-Level Access on the target Cloud Storage bucket.
Fine-grained ACLs are disabled, and authorization relies strictly on IAM policies.
Enforces uniform security across all objects in the bucket as mandated by organizational governance.
4
Perform post-migration verification using logs and application tests.
Confirmed that all application workflows operate cleanly under IAM permissions.
Ensures no residual permission errors exist following the access model migration.

Key Concept

Migrating fine-grained ACLs to Uniform Bucket-Level Access in Google Cloud Storage
Rate this question