ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 178 - DBS-C01 discussion

Report
Export

In North America, a business launched a mobile game that swiftly expanded to 10 million daily active players. The game's backend is hosted on AWS and makes considerable use of a TTL-configured Amazon DynamoDB table.

When an item is added or changed, its TTL is set to 600 seconds plus the current epoch time. The game logic is reliant on the purging of outdated data in order to compute rewards points properly. At times, items from the table are read that are many hours beyond their TTL expiration.

How should a database administrator resolve this issue?

A.
Use a client library that supports the TTL functionality for DynamoDB.
Answers
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.
Answers
B.
Include a query filter expression to ignore items with an expired TTL.
C.
Set the ConsistentRead parameter to true when querying the table.
Answers
C.
Set the ConsistentRead parameter to true when querying the table.
D.
Create a local secondary index on the TTL attribute.
Answers
D.
Create a local secondary index on the TTL attribute.
Suggested answer: B

Explanation:


https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/howitworks-ttl.html

asked 16/09/2024
Sanaa CHOKIRI
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first