ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 234 - DVA-C02 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 script as a cron job on an Amazon EC2 instance.

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

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
asked 23/10/2024
Nikolay Yankov
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first