Examtopics

AWS Certified Data Engineer - Associate
  • Topic 1 Question 196

    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?

    • Define an S3 Lifecycle configuration to delete the logs after 1 year.

    • Create an AWS Lambda function to delete the logs after 1 year.

    • Schedule a cron job on an Amazon EC2 instance to delete the logs after 1 year.

    • Configure an AWS Step Functions state machine to delete the logs after 1 year.


    シャッフルモード