How do you encrypt data at rest in S3 and who manages the keys?
BeginnerScenarioS3, RDS and DynamoDB
Answer
Situation read → SSE-S3 by default; SSE-KMS gives key-level audit and control.
What I'd do →
- Default encryption SSE-S3 applies to new objects automatically
- For regulated data set SSE-KMS with a customer managed key
- Enable S3 Bucket Keys to cut KMS request cost
- Use
aws s3api put-bucket-encryption - Grant
kms:Decryptto consumers
Why → KMS adds an audit trail and revocable key access.
Interview tip → SSE-C and client-side encryption exist but add key handling burden.
More on S3, RDS and DynamoDB
You need to host a static website with HTTPS and low latency worldwide. Which services do you use?BeginnerUploaded files in your bucket must be deleted after 90 days and old versions after 30. How do you do that?BeginnerSomeone deleted objects from a versioned bucket. How do you recover and prevent repeats?IntermediateMillions of small objects are being uploaded and S3 returns 503 Slow Down. What do you do?IntermediateLarge 50 GB files upload slowly from remote offices to S3. How do you speed it up?IntermediateDesign a cross-region DR strategy for a critical S3 bucket with a 15-minute RPO.Advanced