ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 116 - Professional Cloud Security Engineer discussion

Report
Export

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?

A.
Change the access control model for the bucket
Answers
A.
Change the access control model for the bucket
B.
Update your sink with the correct bucket destination.
Answers
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.
Answers
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.
Answers
D.
Add the roles/logging.bucketWriter Identity and Access Management (IAM) role to the bucket for the log sink identity.
Suggested answer: A

Explanation:

https://cloud.google.com/logging/docs/export/troubleshoot#errors_exporting_to_cloud_storage

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.

asked 18/09/2024
Kanik Sachdeva
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first