GCP Associate Cloud Engineer Practice Question 33: Data Access Audit Logs

Google Cloud Associate Cloud Engineer · Test 4 · question 3 of 10

Cloud Audit Logsmedium

A compliance officer asks who downloaded objects from a sensitive Cloud Storage bucket last week. You search Cloud Logging and find entries for bucket creation and IAM policy changes, but no entries for object reads.

What should you do so that these events are recorded in the future?

Select one answer
Show answer and explanation

Answer:

  • B. Enable Data Access audit logs (the DATA_READ log type) for Cloud Storage in the IAM audit configuration

Data Access audit logs record reads of data and metadata, and are disabled by default for most services (BigQuery is an exception) because they can be very large. Enabling the DATA_READ log type for Cloud Storage in the project's audit configuration records who read which object from that point onward.

Option A is wrong because the _Required bucket contains Admin Activity and System Event logs. Option C is wrong because Admin Activity logs are always on and cannot be disabled; they record configuration changes, such as the entries you already saw. Option D is wrong because a sink exports entries that already exist; it cannot create log types that are not generated.

Reference: Cloud Audit Logs overview

Practice Test 4 ›

Study guides for Google Cloud Associate Cloud Engineer