nerdexam
Amazon

DBS-C01 · Question #276

A startup company is developing electric vehicles. These vehicles are expected to send real-time data to the AWS Cloud for data analysis. This data will include trip metrics, trip duration, and…

The correct answer is C. Turn on the TTL feature for the DynamoDB table. Use the TTL attribute as a timestamp and set. To automatically delete data from Amazon DynamoDB after 15 days with the least operational overhead, enable the Time to Live (TTL) feature on the table.

Submitted by ngozi_ng· Mar 6, 2026Workload-Specific Database Design

Question

A startup company is developing electric vehicles. These vehicles are expected to send real-time data to the AWS Cloud for data analysis. This data will include trip metrics, trip duration, and engine temperature. The database team decides to store the data for 15 days using Amazon DynamoDB. How can the database team achieve this with the LEAST operational overhead?

Options

  • AImplement Amazon DynamoDB Accelerator (DAX) on the DynamoDB table. Use Amazon
  • BTurn on DynamoDB Streams for the DynamoDB table to push the data from DynamoDB to
  • CTurn on the TTL feature for the DynamoDB table. Use the TTL attribute as a timestamp and set
  • DCreate an AWS Lambda function to poll the list of DynamoDB tables every 15 days. Drop the

How the community answered

(33 responses)
  • A
    18% (6)
  • B
    3% (1)
  • C
    73% (24)
  • D
    6% (2)

Why each option

To automatically delete data from Amazon DynamoDB after 15 days with the least operational overhead, enable the Time to Live (TTL) feature on the table.

AImplement Amazon DynamoDB Accelerator (DAX) on the DynamoDB table. Use Amazon

DynamoDB Accelerator (DAX) is an in-memory cache for DynamoDB and does not provide functionality for data lifecycle management or automatic item deletion.

BTurn on DynamoDB Streams for the DynamoDB table to push the data from DynamoDB to

DynamoDB Streams captures item-level modifications but does not automatically delete old data based on a time limit; it's used for triggering other processes based on data changes.

CTurn on the TTL feature for the DynamoDB table. Use the TTL attribute as a timestamp and setCorrect

DynamoDB's Time to Live (TTL) feature allows you to define a timestamp attribute on your items, and DynamoDB will automatically delete expired items from the table at no additional cost. This provides an efficient, fully managed solution for data retention policies with minimal operational overhead, perfectly meeting the requirement to store data for 15 days.

DCreate an AWS Lambda function to poll the list of DynamoDB tables every 15 days. Drop the

Creating and managing an AWS Lambda function to poll and delete old items from DynamoDB would introduce significant operational overhead, including development, scheduling, monitoring, and error handling, compared to the native TTL feature.

Concept tested: DynamoDB Time to Live (TTL) for data expiration

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

Topics

#DynamoDB#TTL#data lifecycle management#operational overhead

Community Discussion

No community discussion yet for this question.

Full DBS-C01 Practice