組織では、BigQuery に非常に個人的なデータを保存しており、厳格なデータプライバシー規制を遵守する必要があります。従業員が退職する際には、機密データの値が読み取り不可能になるようにする必要があります。どうすればよいでしょうか?
正解:C
Comprehensive and Detailed Explanation:
The core requirement is to make specific data values permanently unreadable, a concept often referred to as cryptographic erasure or "crypto-shredding." Option C is the correct answer because it achieves this at a granular, field-level. BigQuery's AEAD (Authenticated Encryption with Associated Data) functions allow you to encrypt individual field values within your tables using a keyset from Cloud KMS. You can encrypt the sensitive data, store the encrypted value in BigQuery, and when an employee leaves, you simply destroy the specific KMS key version used for their data. Once the key is destroyed, the encrypted data is permanently unrecoverable, thus rendering it unreadable.
Option A and B are incorrect because data masking and column-level access controls are about controlling access to the data, not about making the underlying data itself unreadable. If an administrator with sufficient privileges were to query the table, the data would still be there in its original form. Revoking permissions prevents a specific user from seeing the data, but it doesn't erase it.
Option D is incorrect because Customer-Managed Encryption Keys (CMEK) operate at the entire table level.
Deleting a CMEK key would make the entire table unreadable, which is far too broad and disruptive. The goal is to target specific sensitive values, not destroy whole tables.
Reference (Google Cloud Documentation Concepts):
This solution leverages field-level encryption within BigQuery. The official documentation for "Protecting data with Cloud KMS keys" states that BigQuery's AEAD functions (AEAD.ENCRYPT and AEAD.
DECRYPT) are the intended mechanism for this purpose. This approach provides fine-grained control, allowing you to manage the lifecycle of encrypted data by managing the lifecycle of the encryption keys in Cloud Key Management Service (Cloud KMS). The act of destroying a key version is the mechanism for crypto-shredding.