Which of these are examples of a value in a sparse vector? (Select 2 answers.)
To re-encrypt all of your CMEK-protected Cloud Storage data after a key has been exposed, and to ensure future writes are protected with a new key, creating a new Cloud KMS key and a new Cloud Storage bucket is the best approach. Here's why option C is the best choice:
Re-encryption of Data:
By creating a new Cloud Storage bucket and copying all objects from the old bucket to the new bucket while specifying the new Cloud KMS key, you ensure that all data is re-encrypted with the new key.
This process effectively re-encrypts the data, removing any dependency on the compromised key.
Ensuring CMEK Protection:
Creating a new bucket and setting the new CMEK as the default ensures that all future objects written to the bucket are automatically protected with the new key.
This reduces the risk of objects being written without CMEK protection.
Deletion of Compromised Key:
Once the data has been copied and re-encrypted, the old key can be safely deleted from Cloud KMS, eliminating the risk associated with the compromised key.
Steps to Implement:
Create a New Cloud KMS Key:
Create a new encryption key in Cloud KMS to replace the compromised key.
Create a New Cloud Storage Bucket:
Create a new Cloud Storage bucket and set the default CMEK to the new key.
Copy and Re-encrypt Data:
Use the gsutil tool to copy data from the old bucket to the new bucket while specifying the new CMEK key:
gsutil -o 'GSUtil:gs_json_api_version=2' cp -r gs://old-bucket/* gs://new-bucket/
Delete the Old Key:
After ensuring all data is copied and re-encrypted, delete the compromised key from Cloud KMS.
Cloud KMS Documentation
Cloud Storage Encryption
Re-encrypting Data in Cloud Storage
Mabel
3 months agoMing
3 months agoJunita
3 months agoArthur
4 months agoEmilio
4 months agoTiera
4 months agoLayla
4 months agoSantos
4 months agoKristin
5 months agoRory
5 months agoFrance
5 months agoStefan
5 months agoBritt
5 months agoDoyle
5 months agoMan
5 months agoKristin
5 months agoChaya
5 months agoLevi
5 months agoGlory
9 months agoLing
8 months agoGeoffrey
8 months agoLorrie
9 months agoJarod
10 months agoBuddy
8 months agoMozell
9 months agoRashida
9 months agoKenny
10 months agoAnnamae
8 months agoCaren
9 months agoLouisa
9 months agoDyan
9 months agoPaola
9 months agoOdette
9 months agoAmira
9 months agoNana
10 months agoRaymon
9 months agoStephaine
10 months agoScot
11 months agoAshleigh
10 months agoJoanne
10 months agoNathalie
10 months agoJettie
10 months agoKenneth
11 months agoMartin
11 months agoJesusa
11 months agoTitus
11 months ago