QuestionQ88
Data Operations and SupportA data engineer is creating a new data pipeline that stores metadata in an Amazon DynamoDB table. The engineer must make sure that all items older than a specified age are removed from the DynamoDB table every day.
Which solution satisfies this requirement with the LEAST configuration effort?
- A Enable DynamoDB TTL on the DynamoDB table. Adjust the application source code to set the TTL attribute appropriately.
- B Create an Amazon EventBridge rule that uses a daily cron expression to trigger an AWS Lambda function to delete items that are older than the specified age.
- C Add a lifecycle configuration to the DynamoDB table that deletes items that are older than the specified age.
- D Create a DynamoDB stream that has an AWS Lambda function that reacts to data modifications. Configure the Lambda function to delete items that are older than the specified age.
Community Discussion