An enterprise is migrating sensitive operational audit logs to Google Cloud. The compliance framework mandates that data stored at rest in Cloud Storage buckets and BigQuery datasets must be encrypted using Customer-Managed Encryption Keys (CMEK) hosted in Cloud KMS. The security team mandates strict separation of duties: storage administrators must not manage encryption keys, and key administrators must not access stored log data. Additionally, key rotation must occur automatically without requiring manual re-encryption of existing historical data. Which TWO architectural configuration steps must you perform to meet these requirements? (Select TWO)
- Grant the Cloud KMS CryptoKey Encrypter/Decrypter role on the specific KMS key to the Cloud Storage and BigQuery service agents, ensuring key management permissions remain restricted to the security team.Answer
- Configure an automated rotation schedule on the Cloud KMS CryptoKey so that new key versions are generated periodically while older key versions remain available for decryption.Answer
- CImplement Customer-Supplied Encryption Keys (CSEK) by providing raw 256-bit AES keys with each API request to automate key lifecycle management across GCP services.
- DGrant the primitive Owner role on the Cloud KMS KeyRing to the Cloud Storage and BigQuery service accounts so they can manage key creation and rotation directly.
Answer
Granting the Cloud KMS CryptoKey Encrypter/Decrypter role to the Google-managed service agents enforces separation of duties, and configuring an automated key rotation schedule on the Cloud KMS CryptoKey ensures seamless encryption of new data while preserving access to historical data.
Granting the Cloud KMS CryptoKey Encrypter/Decrypter role directly to service agents ensures strict separation of duties and least privilege compliance. Furthermore, setting up an automated key rotation schedule on the Cloud KMS CryptoKey allows GCP services to use the latest key version for new writes while retaining older versions to read legacy data without manual re-encryption.
Step-by-Step Solution
Key Concept
Customer-Managed Encryption Keys (CMEK) and IAM Separation of Duties in Cloud KMS