Google Cloud Professional Data Engineer — Question 281

You work for a financial institution that lets customers register online. As new customers register, their user data is sent to Pub/Sub before being ingested into
BigQuery. For security reasons, you decide to redact your customers' Government issued Identification Number while allowing customer service representatives to view the original values when necessary. What should you do?

Answer options

Correct answer: D

Explanation

The correct choice is D because using Cloud Data Loss Prevention (DLP) to apply format-preserving encryption allows the data to be redacted while maintaining its format, enabling customer service representatives to access the original values when necessary. Option A is incorrect because AEAD encryption does not allow for format preservation. Option B fails to redact the data before ingestion, which is necessary for security. Option C uses a cryptographic hash, which makes original values irretrievable, thus not meeting the requirement for customer service access.