Question

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

A cloud engineer is managing a Google Cloud Storage bucket that contains confidential audit records. To enforce organization-wide security policies, Uniform Bucket-Level Access was recently enabled on the bucket. However, external auditors report that they can no longer view specific objects that were previously accessible via fine-grained object Access Control Lists (ACLs). You need to restore the auditors' read access while maintaining compliance with the uniform access mandate. What should you do?

  1. Grant the Storage Object Viewer IAM role to the auditors at the bucket level.Answer
  2. B
    Run a command to apply object-level READ ACLs directly to the individual audit record objects.
  3. C
    Assign the primitive Owner role to the auditors on the host Google Cloud project.
  4. D
    Disable Uniform Bucket-Level Access on the project level and attach IAM deny policies to restricted objects.

Answer

Grant the Storage Object Viewer IAM role to the auditors at the bucket level.
Enabling Uniform Bucket-Level Access (UBLA) turns off ACLs for all objects in the bucket, making Cloud IAM the sole mechanism for access control. To restore read access for the external auditors while respecting the principle of least privilege and UBLA enforcement, you must grant the predefined Storage Object Viewer IAM role to the auditors at the bucket level.

Step-by-Step Solution

1
Analyze the impact of enabling Uniform Bucket-Level Access (UBLA) on Cloud Storage access control.
UBLA disables object-level Access Control Lists (ACLs) entirely, forcing all access permissions to be governed uniformly by Cloud IAM.
Understanding UBLA behavior helps identify why fine-grained ACLs stopped functioning for external users.
2
Select the appropriate Cloud IAM predefined role for object read-only access.
The Storage Object Viewer (roles/storage.objectViewer) role provides read permission to storage objects without granting administrative or write privileges.
Adhering to the principle of least privilege requires choosing predefined roles tailored to specific tasks.
3
Apply the Cloud IAM role at the correct resource level.
Grant the Storage Object Viewer role to the auditors' identity group or service account at the bucket level.
Bucket-level IAM role bindings apply access permissions consistently across all objects stored inside the bucket.

Key Concept

Uniform Bucket-Level Access disables fine-grained per-object ACLs, requiring Cloud Storage access permissions to be managed exclusively via Cloud IAM roles applied at the bucket or project level.
Rate this question