PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #68
You are building a real-time prediction engine that streams files which may contain Personally Identifiable Information (PII) to Google Cloud. You want to use the Cloud Data Loss Prevention (DLP)…
The correct answer is D. Create three buckets of data: Quarantine, Sensitive, and Non-sensitive. The three-bucket architecture (Quarantine, Sensitive, Non-sensitive) is the recommended pattern for DLP-integrated pipelines. Incoming files are first written to the Quarantine bucket - a staging area where no unauthorized access is permitted. The Cloud DLP API then scans each…
Question
Options
- AStream all files to Google Cloud, and then write the data to BigQuery.
- BStream all files to Google Cloud, and write batches of the data to BigQuery.
- CCreate two buckets of data: Sensitive and Non-sensitive.
- DCreate three buckets of data: Quarantine, Sensitive, and Non-sensitive.
How the community answered
(33 responses)- A9% (3)
- B3% (1)
- C6% (2)
- D82% (27)
Explanation
The three-bucket architecture (Quarantine, Sensitive, Non-sensitive) is the recommended pattern for DLP-integrated pipelines. Incoming files are first written to the Quarantine bucket - a staging area where no unauthorized access is permitted. The Cloud DLP API then scans each file in the Quarantine bucket. Based on the scan results, files are routed to either the Sensitive bucket (confirmed PII found, access restricted to authorized personnel) or the Non-sensitive bucket (no PII detected, broader access permitted). This ensures that PII is never exposed to unauthorized users even momentarily, because all data passes through the controlled Quarantine stage before being classified. Options A and B write directly to BigQuery without a DLP scan gate, meaning PII could be exposed before it is identified. Option C uses only two buckets and lacks the Quarantine staging layer that prevents premature access.
Topics
Community Discussion
No community discussion yet for this question.