Security and Compliance

A company needs encryption at rest for objects in Amazon S3, with every use of the key recorded in AWS CloudTrail and no custom cryptographic code. Which option BEST meets this?

Show the answer

Correct answerB. S3 server-side encryption with AWS KMS keys

AWhy not this: S3-managed keys encrypt at rest, but key use is handled by S3 and does not appear as auditable key usage in CloudTrail.

BWhy this is right: AWS KMS keys encrypt objects at rest, need no custom code, and log each key use to CloudTrail for auditing.

CWhy not this: A custom library means writing and maintaining cryptographic code, and AWS cannot log use of keys it does not manage.

DWhy not this: Macie discovers and classifies sensitive data; it does not encrypt objects or log key use.

Server-side encryption with AWS KMS keys encrypts objects at rest with no custom code, and each use of the KMS key is logged in CloudTrail. S3-managed keys also encrypt at rest, but their use is not recorded as key usage events.