
Explanation:
The correct answer is D. Enabling TTL (Time to Live) on the DynamoDB table and specifying the expiration_date attribute allows DynamoDB to automatically manage and delete expired items, thereby minimizing development effort. This is a built-in feature specifically designed for such automated expiration and cleanup tasks, which does not require the additional setup or management of Lambda functions, Fargate tasks, or Glue jobs.
Ultimate access to all questions.
A company utilizes AWS for its website operations, featuring daily polls with results posted the following day. User responses are stored in a DynamoDB table, which the company wishes to cleanse of old data post-publication. To facilitate automatic data removal, a new 'expiration_date' attribute has been added to the table. Identify the solution requiring the least development effort to automate the deletion of outdated responses based on this attribute.
A
Develop an AWS Lambda function scheduled by Amazon EventBridge to delete responses based on 'expiration_date'.
B
Utilize AWS Fargate in Amazon ECS with an EventBridge schedule for the same deletion task.
C
Employ an AWS Glue job with a Glue trigger to perform the deletions.
D
Leverage DynamoDB's TTL feature using the 'expiration_date' to manage data expiration automatically.
No comments yet.