ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 182 - DVA-C02 discussion

Report
Export

A company built an online event platform For each event the company organizes quizzes and generates leaderboards that are based on the quiz scores. The company stores the leaderboard data in Amazon DynamoDB and retains the data for 30 days after an event is complete The company then uses a scheduled job to delete the old leaderboard data

The DynamoDB table is configured with a fixed write capacity. During the months when many events occur, the DynamoDB write API requests are throttled when the scheduled delete job runs.

A developer must create a long-term solution that deletes the old leaderboard data and optimizes write throughput

Which solution meets these requirements?

A.
Configure a TTL attribute for the leaderboard data
Answers
A.
Configure a TTL attribute for the leaderboard data
B.
Use DynamoDB Streams to schedule and delete the leaderboard data
Answers
B.
Use DynamoDB Streams to schedule and delete the leaderboard data
C.
Use AWS Step Functions to schedule and delete the leaderboard data.
Answers
C.
Use AWS Step Functions to schedule and delete the leaderboard data.
D.
Set a higher write capacity when the scheduled delete job runs
Answers
D.
Set a higher write capacity when the scheduled delete job runs
Suggested answer: A

Explanation:

DynamoDB TTL (Time-to-Live):A native feature that automatically deletes items after a specified expiration time.

Efficiency:Eliminates the need for scheduled deletion jobs, optimizing write throughput by avoiding potential throttling conflicts.

Seamless Integration:TTL works directly within DynamoDB, requiring minimal development overhead.

DynamoDB TTL Documentation:https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html

asked 16/09/2024
Lara Umemoto
49 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first