A solutions architect is configuring encryption for an Amazon Elastic Block Store (Amazon EBS) volume containing sensitive database backups. The company's security policy requires that the KMS key used for encryption be rotated automatically every year. Which solution meets this requirement with the minimum administrative effort?
- ACreate a new customer managed key in AWS Key Management Service (AWS KMS) every year, delete the old key, and run a script to decrypt and re-encrypt the active EBS volume.
- BStore the encryption key in AWS Systems Manager Parameter Store as a plain String parameter and write an automated script to rotate it annually.
- Create a customer managed key in AWS Key Management Service (AWS KMS) and enable automatic key rotation.Answer
- DEnable automatic key rotation on the KMS key and write an AWS Lambda function to re-encrypt all existing data on the EBS volume using the new key version.
Answer
Create a customer managed key in AWS Key Management Service (AWS KMS) and enable automatic key rotation.
The correct option is correct because enabling automatic key rotation on a customer managed key in AWS Key Management Service (AWS KMS) automatically rotates the backing key once per year. The key ID remains the same, and older backing keys are preserved by AWS KMS to decrypt existing data without requiring manual re-encryption or administrative intervention.
Step-by-Step Solution
Key Concept
AWS KMS Automatic Key Rotation