Solved

A Company Released a Mobile Game That Quickly Grew to 10

Question 133

Multiple Choice

A company released a mobile game that quickly grew to 10 million daily active users in North America. The game's backend is hosted on AWS and makes extensive use of an Amazon DynamoDB table that is configured with a TTL attribute. When an item is added or updated, its TTL is set to the current epoch time plus 600 seconds. The game logic relies on old data being purged so that it can calculate rewards points accurately. Occasionally, items are read from the table that are several hours past their TTL expiry. How should a database specialist fix this issue?


A) Use a client library that supports the TTL functionality for DynamoDB.
B) Include a query filter expression to ignore items with an expired TTL.
C) Set the ConsistentRead parameter to true when querying the table.
D) Create a local secondary index on the TTL attribute.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents