Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AWS Certified Database - Specialty topic 1 question 198 discussion

Exam question from Amazon's AWS Certified Database - Specialty
Question #: 198
Topic #: 1
[All AWS Certified Database - Specialty Questions]

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?

  • A. The TTL attribute's value is set as a Number data type.
  • B. The TTL attribute's value is set as a Binary data type.
  • C. The TTL attribute's value is a timestamp in the Unix epoch time format in seconds.
  • D. The TTL attribute's value is set with an expiration of 1 year.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Attribute's value is a timestamp in Unix epoch time format in seconds.
Reference:
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/howitworks-ttl.html

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
brucejxx
1 year, 8 months ago
Selected Answer: B
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/time-to-live-ttl-before-you-start.html The TTL attribute’s value must be a top-level Number data type. The TTL attribute’s value must be a timestamp in Unix epoch time format in seconds. The TTL attribute value must be a datetimestamp with an expiration of no more than five years in the past. Therefore only B is not a valid condition.
upvoted 1 times
...
cloudsunriser
1 year, 11 months ago
Selected Answer: B
only B is wrong. A, C and D are correct conditions for TTL to work.
upvoted 2 times
...
Adi_M
1 year, 11 months ago
Selected Answer: B
A, C AND D are correct values for the deletion to work. So, only possibility for the deletion not to work is B. So, the correct answer is B
upvoted 1 times
...
mbar94
1 year, 11 months ago
Selected Answer: B
Seems that ther is wrong attribute type i.e. Binarny. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html#time-to-live-ttl-before-you-start-formatting
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...