Soru

Zorluk: OrtaConfiguring Storage Access Controls and Uniform Bucket-Level Access

A security team enables Uniform Bucket-Level Access (UBLA) on a Google Cloud Storage bucket storing sensitive financial reports. Consequently, legacy automated pipelines attempting to apply per-object Access Control Lists (ACLs) fail. You must grant a financial auditor read access to objects in this bucket while maintaining organizational compliance and least privilege principles. Which TWO actions should you take?

  1. Grant the auditor the predefined Storage Object Viewer role (roles/storage.objectViewer) on the Cloud Storage bucket via Cloud IAM.Cevap
  2. Refactor data ingestion workflows to rely exclusively on Cloud IAM policies rather than setting per-object ACL flags.Cevap
  3. C
    Assign the primitive Viewer role (roles/viewer) to the auditor at the GCP project level.
  4. D
    Disable Uniform Bucket-Level Access on the storage bucket to restore support for per-object ACLs.

Cevap

The correct actions are granting the predefined Storage Object Viewer role (roles/storage.objectViewer) at the bucket level using IAM, and refactoring ingestion workflows to manage access via IAM policies rather than per-object ACLs.
Enabling Uniform Bucket-Level Access (UBLA) centralizes permissions management strictly through Google Cloud IAM, ignoring individual object ACLs. Assigning the predefined Storage Object Viewer role (roles/storage.objectViewer) to the auditor satisfies read requirements under the principle of least privilege. Additionally, updating ingestion pipelines to use IAM policies prevents automated pipeline failure caused by forbidden ACL assignments under UBLA.

Adım Adım Çözüm

1
Analyze access control enforcement under Uniform Bucket-Level Access (UBLA).
Identify that UBLA disables legacy ACLs on all objects and enforces Cloud IAM exclusively.
Individual ACL modifications produce permission errors when UBLA is enabled.
2
Apply least-privilege predefined Cloud IAM roles.
Assign Storage Object Viewer (roles/storage.objectViewer) to the financial auditor at the bucket resource level.
This provides read access to bucket objects without over-granting project-wide permissions.
3
Remediate ingestion pipeline logic.
Remove per-object ACL flags (such as canned ACLs) from object uploads and administrative scripts.
All access policies must be declared through bucket and project IAM policy bindings.

Anahtar Kavram

Uniform Bucket-Level Access (UBLA) disables per-object ACLs in Google Cloud Storage and enforces Cloud IAM predefined roles for bucket security management.
Bu soruyu puanla