A solutions architect is designing a secure architecture for a financial application. The application's database runs on Amazon EC2 instances with Amazon EBS volumes, and it accesses an external API using an API key. The company's security policy mandates that:
1. All EBS volumes must be encrypted at rest, and the encryption keys must rotate annually without requiring manual data re-encryption or causing downtime.
2. The external API key must be stored securely, rotate automatically every 30 days, and not be exposed in plaintext in any configuration files.
Which combination of actions should the solutions architect take to meet these security requirements? (Select TWO.)
- Create an AWS KMS customer managed key to encrypt the EBS volumes, and enable automatic key rotation to rotate the key material annually without re-encrypting existing data.Cevap
- Store the external API key in AWS Secrets Manager and configure automatic rotation every 30 days using an AWS Lambda function.Cevap
- CCreate an AWS KMS customer managed key for the EBS volumes, and configure a policy to force immediate re-encryption of all historical EBS snapshots under the new key version when rotation occurs.
- DStore the external API key as a standard plaintext String parameter in AWS Systems Manager Parameter Store to simplify rotation scripting.
- EManually generate a new AWS KMS customer managed key annually, delete the old key, and use a script to re-encrypt all active EBS volumes with the new key.
Cevap
Create an AWS KMS customer managed key to encrypt the EBS volumes and enable automatic rotation, and store the API key in AWS Secrets Manager with automatic rotation configured using an AWS Lambda function.
The correct combination requires using an AWS KMS customer managed key for EBS encryption with automatic key rotation enabled, which rotates keys annually without needing manual intervention or re-encrypting historical data. Additionally, storing the API key in AWS Secrets Manager and configuring automatic rotation via Lambda ensures the secret is rotated every 30 days securely without plaintext exposure.
Adım Adım Çözüm
Anahtar Kavram
Data encryption at rest using AWS KMS with automatic key rotation, and secure secret storage using AWS Secrets Manager with automated rotation.