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.
A data engineering team is designing an automated ingestion pipeline that processes sensitive transaction files exceeding 50 MB before storing them in Google Cloud. The organization's security policy requires column- and application-layer encryption managed centrally through Cloud Key Management Service (Cloud KMS).
During architectural review, the team observes that the Cloud KMS Encrypt API rejects direct encryption requests exceeding 64 KiB.
Which cryptographic key management strategy should the team implement to encrypt these large payloads securely and efficiently?
This option assumes that the 64 KiB limit on the Cloud KMS Encrypt and Decrypt API methods is a configurable administrative quota that can be adjusted via standard Google Cloud support or quota requests.
The limit in question were an adjustable API request rate quota (such as read/write queries per minute) rather than an immutable payload data boundary.
Envelope encryption is a multi-layered cryptographic approach where actual application data is encrypted with a locally generated Data Encryption Key (DEK), and that DEK is subsequently encrypted (wrapped) using a centrally managed Key Encryption Key (KEK) stored in Cloud Key Management Service (Cloud KMS).
Encrypt/Decrypt) has a hard input size limit of 64 KiB. By encrypting the large 50 MB payload locally with a symmetric DEK (such as AES-256-GCM), the workload avoids sending large data streams over the network to the KMS API.roles/cloudkms.cryptoKeyEncrypterDecrypter on the KEK.Envelope encryption is Google Cloud's standard pattern for encrypting data at scale. It perfectly balances local compute performance with centralized KMS governance, adhering to security standards without hitting API payload size ceilings.
This option attempts to export the private key material of an asymmetric Cloud KMS key pair to application memory so that local encryption/decryption can proceed without making API calls to KMS.
The workload required public-key distribution for external digital signatures where client applications verify data using the public key.
This approach breaks large data files into thousands of 64 KiB fragments and sends each fragment as an independent REST/gRPC API call to the Cloud KMS projects.locations.keyRings.cryptoKeys:encrypt endpoint, subsequently stitching the returned ciphertexts together.
Encrypt/Decrypt is strictly intended for small secrets, tokens, or cryptographic keys under 64 KiB.The data payload was an isolated secret, API key, or credential that was guaranteed to remain strictly below 64 KiB.
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