QuestionQ74

Ensuring data protection

You are exporting application logs to Cloud Storage and receive an error stating that log sinks do not support uniform bucket-level access policies. How should you resolve this error?

  • A Change the access control model for the bucket
  • B Update your sink with the correct bucket destination.
  • C Add the roles/logging.logWriter Identity and Access Management (IAM) role to the bucket for the log sink identity.
  • D Add the roles/logging.bucketWriter Identity and Access Management (IAM) role to the bucket for the log sink identity.
Explanation

Uniform bucket-level access disables Cloud Storage ACLs and uses bucket-level IAM exclusively. When a log sink reports that it does not support this policy, the destination bucket must use the fine-grained access-control model instead. Cloud Storage documentation describes switching a bucket’s access-control model between Uniform and Fine-grained access.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!