ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 212 - DVA-C01 discussion

Report
Export

A company caches session information for a web application in an Amazon DynamoDB table. The company wants an automated way to delete old items from the table. What is the simplest way to do this?

A.
Write a script that deletes old records; schedule the scripts as a cron job on an Amazon EC2 instance.
Answers
A.
Write a script that deletes old records; schedule the scripts as a cron job on an Amazon EC2 instance.
B.
Add an attribute with the expiration time; enable the Time To Live feature based on that attribute.
Answers
B.
Add an attribute with the expiration time; enable the Time To Live feature based on that attribute.
C.
Each day, create a new table to hold session data; delete the previous day’s table.
Answers
C.
Each day, create a new table to hold session data; delete the previous day’s table.
D.
Add an attribute with the expiration time; name the attribute ItemExpiration.
Answers
D.
Add an attribute with the expiration time; name the attribute ItemExpiration.
Suggested answer: B

Explanation:

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/time-to-live-ttl-howto.html

asked 16/09/2024
Mauro Daniele
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first