You must preprocess customer data in a restricted GCS bucket for consumer analyses while meeting privacy requirements. Which approach should you use?
Choose an answer
Tap an option to check your answer.
Correct answer: Use Dataflow and the Cloud Data Loss Prevention API to mask sensitive data. Write the processed data in BigQuery..
Why this is the answer
The correct approach uses Dataflow for scalable data processing and the Cloud Data Loss Prevention (DLP) API to mask sensitive data, ensuring privacy compliance. Masking transforms sensitive information (e.g., replacing credit card numbers with asterisks) while retaining data utility for analysis. The processed data is then stored in BigQuery, a suitable destination for analytical workloads. Incorrect options: CMEK encrypts data at rest but doesn't mask or de-identify sensitive fields within the data itself, so it doesn't meet the requirement for consumer analyses while meeting privacy requirements. Federated queries don't address the masking need. Detecting and removing sensitive fields might lead to data loss, hindering consumer analyses. Masking is generally preferred for retaining analytical value. Encrypting sensitive fields with Cloud KMS and writing encrypted data to BigQuery means the data is still encrypted when queried, making direct analysis difficult without decryption, which could reintroduce sensitive data into the analytical environment. Masking is a better solution for analysis while maintaining privacy.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed