
Answer-first summary for fast verification
Answer: Define an S3 Lifecycle configuration to delete the logs after 1 year.
Option A is CORRECT because Amazon S3 provides native support for lifecycle configuration rules that allow automatic deletion of objects after a specified time. By defining a lifecycle rule to delete objects older than 365 days, the company can ensure that server logs are automatically removed after 1 year without requiring manual intervention or additional compute resources. This is the simplest and most operationally efficient solution.
Author: Ritesh Yadav
Ultimate access to all questions.
Question 60/60
A company stores server logs in an Amazon S3 bucket. The company needs to keep the logs for 1 year. The logs are not required after 1 year.
A data engineer needs a solution to automatically delete logs that are older than 1 year.
Which solution will meet these requirements with the LEAST operational overhead?
A
Define an S3 Lifecycle configuration to delete the logs after 1 year.
B
Create an AWS Lambda function to delete the logs after 1 year.
C
Schedule a cron job on an Amazon EC2 instance to delete the logs after 1 year.
D
Configure an AWS Step Functions state machine to delete the logs after 1 year.
No comments yet.