Free AWS DVA-C01 Actual Exam Questions - Question 9 Discussion

Question No. 9
A developer is building a new application that uses an Amazon DynamoDB table. The specification
states that all items that are older than 48 hours must be removed
Which solution will meet this requirement?
Select one option, then reveal solution.
US
SC
Sami C.
2026-01-28

Option C looks best to me since TTL in DynamoDB requires a Number attribute that stores the expiration time as a Unix timestamp. You set this attribute to the current time plus 48 hours, and DynamoDB automatically deletes items after that. The part about using an LSI in A and B doesn’t make sense because TTL doesn’t depend on indexes, and D is out because TTL can’t use a String attribute. So C is the only one that fits the requirements correctly.

0
RJ
Ryan J.
2026-01-26

Maybe C makes the most sense since TTL only works with a Number attribute representing the expiry time in epoch seconds, and you have to set it to current time plus 48 hours. LSIs aren’t needed here.

0
AC
Ali C.
2026-01-21

Probably C. TTL in DynamoDB requires a Number attribute with the expiry time as a Unix timestamp, so options with String types or LSIs don’t really fit. Plus, you need to set the attribute to current time plus 48 hours to ensure items expire after that period, which matches option C. The LSI stuff in A and B isn’t needed just for TTL. D is out because TTL won’t work with String attributes. So C looks like the cleanest and most accurate choice here.

0
AC
Ali C.
2026-01-21

Actually, TTL only works with a Number attribute that stores the expiration timestamp in Unix epoch time. So options A and B are out since they mention an LSI and B uses a String type. D is wrong because TTL can't use Strings. C fits best.

0
SN
Sarah N.
2026-01-18

C seems right since TTL needs a Number attribute with a future timestamp.

0