QuestionQ75

VerifiedBuilding and implementing CI/CD pipelines, including continuous testing, for application, infrastructure, and machine learning workloads

An external application sends encrypted files to a Cloud Storage bucket. The files use an HMAC-SHA256 key and contain sensitive data that must be loaded into BigQuery for analysis each day after midnight.

You need to create a secure, automated solution to decrypt the files and load them into BigQuery. You want to follow Google-recommended practices while minimizing the required development effort. What should you do?

Explanation

Cloud KMS securely manages imported key material instead of exposing it in Cloud Storage. A containerized Cloud Run job provides an appropriate managed execution environment for a finite decrypt-and-load workload, and it can be invoked on a schedule through Cloud Scheduler. Granting the job identity the Cloud KMS CryptoKey Encrypter/Decrypter role permits the required cryptographic operation while avoiding storage of the key alongside the encrypted data.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!