Transient email-verification codes for citizen accounts should expire automatically without a nightly sweeper job. Which DynamoDB feature should the app use?
Select an answer to reveal the explanation.
Short Explanation
Verification codes are milk with an expiration date. Stamp a TTL attribute and let DynamoDB toss the carton—no nightly janitor script required.
Full Explanation
DynamoDB Time to Live deletes items after a configured epoch timestamp attribute, which fits short-lived verification codes without custom sweepers. Nightly scans add cost and delay; keeping expired codes indefinitely bloats the table; S3 Object Lock is unrelated to DynamoDB item expiry.