DBS-C01 · Question #208
A database specialist needs to delete user data and sensor data 1 year after it was loaded in an Amazon DynamoDB table. TTL is enabled on one of the attributes. The database specialist monitors TTL…
The correct answer is B. The TTL attribute's value is set as a Binary data type. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html#time-to-live-ttl- before-you-start-formatting
Question
A database specialist needs to delete user data and sensor data 1 year after it was loaded in an Amazon DynamoDB table. TTL is enabled on one of the attributes. The database specialist monitors TTL rates on the Amazon CloudWatch metrics for the table and observes that items are not being deleted as expected. What is the MOST likely reason that the items are not being deleted?
Options
- AThe TTL attribute's value is set as a Number data type.
- BThe TTL attribute's value is set as a Binary data type.
- CThe TTL attribute's value is a timestamp in the Unix epoch time format in seconds.
- DThe TTL attribute's value is a timestamp in the Unix epoch time format in seconds.
How the community answered
(48 responses)- B94% (45)
- C2% (1)
- D4% (2)
Explanation
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html#time-to-live-ttl- before-you-start-formatting
Topics
Community Discussion
No community discussion yet for this question.