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:
Verified
Q128: A company developed a new application that
Q129: A startup company is building a new
Q130: A large automobile company is migrating the
Q131: A company is running an on-premises application
Q132: A finance company needs to make sure
Q134: A company hosts an internal file-sharing application
Q135: To meet new data compliance requirements, a
Q136: A Database Specialist is creating a new
Q137: A company is running a two-tier ecommerce
Q138: A company is using an Amazon RDS
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