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.
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.
D) Add an attribute with the expiration time; name the attribute ItemExpiration . Add an attribute with the expiration time; name the attribute ItemExpiration .
Correct Answer:
Verified
Q36: An application will ingest data at a
Q37: A development team is using AWS Elastic
Q38: A gaming company is developing a mobile
Q39: A static website is hosted in an
Q40: A company needs to encrypt data at
Q42: A Development team is working on a
Q43: A company has an internet-facing application that
Q44: Queries to an Amazon DynamoDB table are
Q45: A company has an AWS CloudFormation template
Q46: An organization is storing large files in
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents