Prepare and test your skills

Prepare and test your skills

Free sample question, answered and explained below. The Professional Data Engineer practice bank has 1,353 more like it. Try 10 free: instant score, no account.
An enterprise is designing a secure data ingestion and processing architecture to import sensitive financial records from an on-premises data center into Google Cloud. The design must fulfill the following security and cryptographic requirements:
Which cryptographic design and implementation meets these requirements?
This architecture leverages the Tink cryptographic library on-premises alongside Cloud Key Management Service (Cloud KMS) or Cloud HSM to implement client-side envelope encryption and column-level access controls. Tink generates localized Data Encryption Keys (DEKs) to encrypt specific sensitive fields (such as credit card numbers or account identifiers) before data leaves the corporate perimeter, while the DEKs themselves are securely wrapped (encrypted) by a centralized Key Encryption Key (KEK) managed in Cloud KMS/Cloud HSM.
AEAD.DECRYPT_STRING or keyset functions). Analysts running queries unwrap the DEK and decrypt values dynamically at runtime only if their identity has IAM roles/cloudkms.cryptoKeyDecrypter permissions on the wrapping KEK.This pattern provides defense-in-depth by combining transport encryption, customer-managed envelope encryption, and granular column-level access control without requiring custom decryption microservices in front of BigQuery.
This pattern generates an asymmetric RSA key pair stored in Secret Manager, encrypts fields on-premises using the public key, loads ciphertexts into BigQuery, and invokes a remote User-Defined Function (UDF) backed by Cloud Functions to fetch the private key from Secret Manager and decrypt records on every query.
The workload required public-key cryptography for infrequent, single-record external submissions where clients cannot authenticate to Google Cloud APIs to wrap symmetric DEKs.
This approach sends on-premises cleartext data to the Sensitive Data Protection (Cloud DLP) API over public internet endpoints for tokenization/masking, writes the output to Cloud Storage, and launches a Cloud Dataproc Spark job to perform bulk in-memory re-identification prior to loading into BigQuery.
The business required central automated masking and tokenization of unstructured text datasets where analysts must never access raw PII under any circumstance.
This approach uses Customer-Supplied Encryption Keys (CSEK) at the file level on-premises, transmits the plaintext Data Encryption Key within Cloud Pub/Sub message attributes, performs full decryption inside the Dataflow worker pipeline, and writes the resulting cleartext into a BigQuery dataset configured with Customer-Managed Encryption Keys (CMEK).
SELECT privileges.The objective was coarse-grained storage encryption where Dataflow is trusted to process sensitive records entirely in cleartext before persisting them to standard CMEK-encrypted persistent storage.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated