An enterprise is building an analytics platform on Google Cloud that ingests sensitive financial records into BigQuery and stores raw log archives on Compute Engine persistent disks. Security governance requires that all data at rest be protected using Customer-Managed Encryption Keys (CMEK) managed via Cloud KMS. The security policy mandates strict separation of duties, zero usage of primitive IAM roles, and automated key rotation where legacy data decryptability is preserved without requiring manual re-encryption of historical datasets. Which TWO architectural and IAM configurations must be implemented to fulfill these compliance requirements? (Select TWO)
- Grant the Cloud KMS CryptoKey Encrypter/Decrypter role (roles/cloudkms.cryptoKeyEncrypterDecrypter) specifically to the Google-managed Service Agents for BigQuery and Compute Engine on the relevant KMS keys.Cevap
- Configure an automated rotation schedule for the Cloud KMS symmetric encryption key; newly written data will automatically use the updated primary key version while older key versions remain enabled to decrypt historical data.Cevap
- CPass raw 256-bit AES Customer-Supplied Encryption Keys (CSEK) directly within API request headers to BigQuery and Compute Engine to eliminate reliance on Cloud KMS key management infrastructure.
- DGrant the primitive Editor role (roles/editor) at the project level to the Compute Engine default service account to ensure it has administrative control to perform on-demand key rotation.
Cevap
The enterprise must grant the Cloud KMS CryptoKey Encrypter/Decrypter role to the Google-managed Service Agents for BigQuery and Compute Engine, and configure an automated key rotation schedule on the Cloud KMS key.
To implement CMEK properly while following GCP security best practices, access to Cloud KMS keys must be granted to the specific Google-managed service agents (e.g., BigQuery service agent) using fine-grained predefined roles like `roles/cloudkms.cryptoKeyEncrypterDecrypter`. Furthermore, Cloud KMS key rotation creates a new primary key version for subsequent write operations while keeping older key versions active, allowing seamlessly transparent decryption of existing historical data without full re-encryption.
Adım Adım Çözüm
Anahtar Kavram
Cloud KMS Customer-Managed Encryption Keys (CMEK) IAM Service Agent permissions and automated key version rotation management.