Google Professional Data Engineer Question 156
Select 4Google Cloud PlatformYou are managing a data lake on Google Cloud and need to ensure proper configuration for data discovery, access, and cost controls. Your data lake consists of multiple Cloud Storage buckets, and you want to enforce the following requirements:
- Users should only see the metadata of datasets they have access to.
- Access to datasets should be managed at the bucket level.
- You need to monitor and optimize costs associated with storage and retrieval.
Which combination of actions should you take to meet these requirements?
- A
Enable Object Versioning on all Cloud Storage buckets.
- B
Use IAM roles like 'roles/storage.objectViewer' and 'roles/storage.admin' to control access.
- C
Enable Cloud Storage Insights to monitor storage usage and retrieval costs.
- D
Set up BigQuery data catalog integration for metadata discovery.
- E
Apply lifecycle management policies to transition objects to lower-cost storage classes.
Show answer and explanation
Correct answers: B, C, D, E
Explanation
To meet the requirements, you need to enforce metadata-based discovery, bucket-level access control, and cost optimization strategies. IAM roles ensure proper access control at the bucket level, BigQuery Data Catalog integration addresses metadata discovery, and Cloud Storage Insights along with lifecycle management policies help monitor and optimize costs. Object Versioning, while useful for data recovery, does not directly contribute to the stated requirements.
- A. Incorrect.
Enabling Object Versioning is not directly related to data discovery, access control, or cost optimization. It is useful for data recovery but does not help in achieving the specified requirements.
- B. Correct.
Using IAM roles like 'roles/storage.objectViewer' and 'roles/storage.admin' ensures fine-grained access control at the bucket level, which aligns with the requirement for controlling access.
- C. Correct.
Enabling Cloud Storage Insights provides detailed visibility into storage usage and costs, helping you monitor and optimize costs effectively.
- D. Correct.
Setting up BigQuery data catalog integration allows users to discover metadata for datasets they have access to, addressing the requirement for metadata-based data discovery.
- E. Correct.
Applying lifecycle management policies lets you transition objects to lower-cost storage classes, optimizing costs as specified in the requirements.