An organization is deploying an application on Google Cloud and needs to configure Customer-Managed Encryption Keys (CMEK) using Cloud KMS to protect sensitive data stored in Cloud Storage buckets and Compute Engine persistent disks. Which TWO requirements must be met to properly implement CMEK for these services? (Select TWO)
- Grant the Cloud KMS CryptoKey Encrypter/Decrypter role on the KMS key to the Google-managed service account for each respective GCP service.Cevap
- BUpload raw 256-bit AES symmetric keys directly through the gcloud CLI during resource creation to allow Cloud KMS to manage key decryption.
- Specify the Cloud KMS key resource ID when creating the Cloud Storage bucket or Compute Engine persistent disk.Cevap
- DAssign the primitive Owner role on the Cloud KMS project to the Compute Engine default service account to ensure cryptographic access.
Cevap
The correct requirements are granting the Cloud KMS CryptoKey Encrypter/Decrypter role to the Google-managed service accounts for Cloud Storage and Compute Engine, and referencing the Cloud KMS key resource ID during resource creation.
Implementing CMEK for GCP resources requires providing the Cloud KMS key resource ID to the target service (such as Cloud Storage or Compute Engine) and granting the specific service agent the Cloud KMS CryptoKey Encrypter/Decrypter role so it can perform encryption/decryption operations.
Adım Adım Çözüm
Anahtar Kavram
Customer-Managed Encryption Keys (CMEK) and Service Agent IAM Configuration