Topic 1 Question 88
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?
Write a script that deletes old records; schedule the script as a cron job on an Amazon EC2 instance.
Add an attribute with the expiration time; enable the Time To Live feature based on that attribute.
Each day, create a new table to hold session data; delete the previous day's table.
Add an attribute with the expiration time; name the attribute ItemExpiration.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: B👍 2zodraz2023/05/08
- 👍 1catcatpunch2023/05/28
シャッフルモード