CLOUD-DIGITAL-LEADER practice question 7 of 35

You are storing sensitive information in a Cloud Storage bucket. For legal reasons, you need to be able to record all requests that read any of the stored dat a. You want to make sure you comply with these requirements. What should you do?

Full set: 411 questions
Answer options
A: Scan the bucket using the Data Loss Prevention API.
B: Enable Data Access audit logs for the Cloud Storage API. Correct answer
C: Enable the Identity Aware Proxy API on the project.
D: Allow only a single Service Account access to read the data.
Correct Answer:
B. Enable Data Access audit logs for the Cloud Storage API.
Explanation

Cloud Audit Logs provide three log types; only Data Access logs capture operations that “read user-provided data,” such as storage.objects.get and storage.objects.list. These logs are disabled by default. By explicitly enabling Data Access audit logs for the Cloud Storage API on the project (or the specific bucket’s project), every read request is recorded, satisfying the legal requirement to audit all accesses to the sensitive objects.

Why Incorrect

A. DLP scans classify or redact object contents; it does not generate per-request access records.
C. Identity-Aware Proxy controls web access to HTTPS services behind Load Balancers; it is not used for Cloud Storage object reads.
D. Restricting access narrows who can read but produces no immutable log of each read operation.

References

1. Google Cloud Documentation – “Cloud Audit Logs: Data Access logs record API calls that read user-provided data such as storage.objects.get … Disabled by default; must be explicitly enabled.” (Section: Types of audit logs) https://cloud.google.com/logging/docs/audit

2. Google Cloud Storage Audit Logs – “To log object read operations, enable Data Access audit logs for Cloud Storage.” (Paragraph: Enabling Data Access Audit Logs) https://cloud.google.com/storage/docs/audit-logs

3. Google Cloud Documentation – “Admin Activity logs are always on; Data Access logs must be configured to capture object reads.” (Section: Enabling Data Access logs) https://cloud.google.com/logging/docs/audit/configure-data-access

4. Google Cloud DLP Overview – focuses on content inspection/redaction, not access logging. (https://cloud.google.com/dlp/docs)

5. Google Cloud Identity-Aware Proxy Overview – protects web applications/services, unrelated to Cloud Storage API. (https://cloud.google.com/iap/docs)

Scroll to Top