Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 42 Topic 5 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 42 Topic 5 Discussion

DVA-C02 Exam Topic 5 Question 42 Discussion:
Question #: 42
Topic #: 5

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 script 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.


Get Premium DVA-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.