AWS Certified Developer – Associate (DVA-C02) — Question 396

A company has an application that uses an Amazon S3 bucket for object storage. A developer needs to configure in-transit encryption for the S3 bucket. All the S3 objects containing personal data needs to be encrypted at rest with AWS Key Management Service (AWS KMS) keys, which can be rotated on demand.

Which combination of steps will meet these requirements? (Choose two.)

Answer options

Correct answer: C, D

Explanation

To enforce in-transit encryption, an S3 bucket policy must deny requests that do not use HTTPS by utilizing the aws:SecureTransport condition (Option D). For at-rest encryption of personal data using KMS keys that can be rotated on demand, a customer managed key must be used, and encrypting the data client-side via the application before upload (Option C) satisfies this requirement. Other options like permissions boundaries, bucket policies for client-side encryption, or S3 Block Public Access cannot enforce these specific encryption requirements.