nerdexam
Amazon

DEA-C01 · Question #185

A company needs a solution to manage costs for an existing Amazon DynamoDB table. The company also needs to control the size of the table. The solution must not disrupt any ongoing read or write…

The correct answer is A. Use the DynamoDB TTL feature to automatically expire data based on timestamps. DynamoDB TTL (Time to Live) is a built-in feature that allows you to automatically delete expired items from your table based on a timestamp attribute. Once TTL is enabled, DynamoDB automatically removes the items after they reach the expiration time, without disrupting any…

Data Store Management

Question

A company needs a solution to manage costs for an existing Amazon DynamoDB table. The company also needs to control the size of the table. The solution must not disrupt any ongoing read or write operations. The company wants to use a solution that automatically deletes data from the table after 1 month. Which solution will meet these requirements with the LEAST ongoing maintenance?

Options

  • AUse the DynamoDB TTL feature to automatically expire data based on timestamps.
  • BConfigure a scheduled Amazon EventBridge rule to invoke an AWS Lambda function to check for
  • CConfigure a stream on the DynamoDB table to invoke an AWS Lambda function. Configure the
  • DUse an AWS Lambda function to periodically scan the DynamoDB table for data that is older than

How the community answered

(49 responses)
  • A
    80% (39)
  • B
    6% (3)
  • C
    2% (1)
  • D
    12% (6)

Explanation

DynamoDB TTL (Time to Live) is a built-in feature that allows you to automatically delete expired items from your table based on a timestamp attribute. Once TTL is enabled, DynamoDB automatically removes the items after they reach the expiration time, without disrupting any ongoing read or write operations. This solution provides the least ongoing maintenance because it's fully managed by DynamoDB and doesn't require manual interventions or additional Lambda functions.

Topics

#DynamoDB TTL#Data Lifecycle Management#Cost Optimization#Automated Deletion

Community Discussion

No community discussion yet for this question.

Full DEA-C01 Practice