Topic 1 Question 116
You are exporting application logs to Cloud Storage. You encounter an error message that the log sinks don't support uniform bucket-level access policies. How should you resolve this error?
Change the access control model for the bucket
Update your sink with the correct bucket destination.
Add the roles/logging.logWriter Identity and Access Management (IAM) role to the bucket for the log sink identity.
Add the roles/logging.bucketWriter Identity and Access Management (IAM) role to the bucket for the log sink identity.
解説
ユーザの投票
コメント(5)
- 正解だと思う選択肢: A
https://cloud.google.com/logging/docs/export/troubleshoot Unable to grant correct permissions to the destination: Even if the sink was successfully created with the correct service account permissions, this error message displays if the access control model for the Cloud Storage bucket was set to uniform access when the bucket was created. For existing Cloud Storage buckets, you can change the access control model for the first 90 days after bucket creation by using the Permissions tab. For new buckets, select the Fine-grained access control model during bucket creation. For details, see Creating Cloud Storage buckets.
👍 7mikesp2022/06/02 - 正解だと思う選択肢: A
A is the answer.
https://cloud.google.com/logging/docs/export/troubleshoot#errors_exporting_to_cloud_storage
- Unable to grant correct permissions to the destination: Even if the sink was successfully created with the correct service account permissions, this error message displays if the access control model for the Cloud Storage bucket was set to uniform access when the bucket was created.
👍 3zellck2022/09/27 - 正解だと思う選択肢: A
Answer is (A). If bucket-level access policies are not supported, Fine-grained is being used. The recommended architecture is Uniform bucket-level access. Therefore, Change the access control model for the bucket. Ref : https://cloud.google.com/storage/docs/access-control
👍 2mT32022/05/19
シャッフルモード
