How to implement per-user crypto-deletion in BigQuery?
Short answer
A Implement Authenticated Encryption with Associated Data (AEAD) BigQuery functions while storing your data in BigQuery.
Question
Key Takeaways
The exam tests the distinction between table-level encryption (CMEK) and column-level encryption (AEAD), focusing on how AEAD enables crypto-deletion by mapping keys to individual users rather than the entire table.
To achieve per-user crypto-deletion natively in BigQuery, use AEAD (Authenticated Encryption with Associated Data) functions to encrypt data with user-specific keys. This allows data to be rendered unreadable by simply revoking or deleting the specific user's key.
Common mistake: Choosing Customer-Managed Encryption Keys (CMEK) (Option B) is a frequent error because CMEK encrypts the whole table, making it impossible to delete data for a single user without destroying everyone's data.
Expert Analysis
Why the Answer Is Correct
Option A is correct because BigQuery's native AEAD functions allow for column-level encryption using specific keys. By assigning a unique encryption key to each user, you can satisfy deletion requests (crypto-deletion) by simply destroying or revoking that user's key, rendering their data permanently unreadable without deleting the underlying rows.
Why the Other Options Are Wrong
Option B is incorrect because CMEK operates at the table or storage level; destroying a CMEK key would make the entire table unreadable for all users, not just one. Option C implies application-side encryption before storage, which moves away from native BigQuery processing and requires complex external key management. Option D is incorrect because using a custom cryptographic library in an ETL pipeline violates the requirement to adopt native Google Cloud features.
Community Comment Notes
Community consensus strongly supports Option A, highlighting that AEAD functions allow keys to be managed outside of BigQuery. Commenters note that this separation enables the specific workflow of "crypto-deletion" where access revocation effectively deletes the data. The comments also provide direct links to official documentation confirming AEAD is the intended solution for this scenario.
Official Reference
- https://cloud.google.com/bigquery/docs/aead-encryption-concepts
- https://cloud.google.com/bigquery/docs/reference/standard-sql/aead_encryption_functions
These links open the official vendor documentation in a new tab.
Exam Strategy
When a question asks for "crypto-deletion" or "per-user" encryption, immediately look for AEAD functions. Remember that CMEK is for infrastructure compliance and control, not for granular, user-level data erasure.
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 3
-
raaad 👍 9 Answered A- AEAD cryptographic functions in BigQuery allow for encryption and decryption of data at the column level. - You can encrypt specific data fields using a unique key per user and manage these keys outside of BigQuery (for example, in your application or using a key management system). - By "deleting" or revoking access to the key for a specific user, you effectively make their data unreadable, achieving crypto-deletion. - This method provides fine-grained encryption control but requires careful key management and integration with your applications.
-
JyoGCP 👍 3 Answered Ahttps://cloud.google.com/bigquery/docs/aead-encryption-concepts https://cloud.google.com/bigquery/docs/reference/standard-sql/aead_encryption_functions
-
scaenruy 👍 2 Answered AA. Implement Authenticated Encryption with Associated Data (AEAD) BigQuery functions while storing your data in BigQuery.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.