Security, Compliance, and Governance for AI Solutions

A team stores the prompt and response logs of its GenAI assistant in Amazon S3 for audits. Policy says the logs are kept for one year, at the lowest storage cost, and then deleted. What should the team configure?

Show the answer

Correct answerB. S3 Lifecycle rules that transition and then expire the logs

AWhy not this: Object Lock stops the logs from being deleted for a year, but it neither deletes them afterward nor reduces their storage cost.

BWhy this is right: Lifecycle rules move the logs to cheaper storage as they age and delete them when the retention period ends.

CWhy not this: Versioning keeps extra copies of changed or deleted logs, which adds cost and works against deleting them after a year.

DWhy not this: Replication stores a second copy in another Region, which doubles storage cost and deletes nothing.

S3 Lifecycle rules manage the data lifecycle: they can move older logs to a cheaper storage class and expire them after one year. Object Lock prevents deletion during the retention period, but it does not delete the logs afterward or lower their storage cost.