A retailer keeps 2 TB of order history in an Amazon DynamoDB table that serves production traffic with provisioned capacity. Each week an ML engineer needs a full copy of the table in Amazon S3 to build a training dataset. The copy must not consume the production table's read capacity. Which solution will meet these requirements with the LEAST operational overhead?
Choose one.
DynamoDB export to Amazon S3 builds full or incremental exports from point-in-time recovery data without touching table capacity.
DynamoDB's export to S3 feature requires point-in-time recovery to be enabled and writes the table's data to an S3 prefix in DynamoDB JSON or Amazon Ion format. Because it reads from the continuous backup, it uses no read capacity and needs no paging code; EventBridge Scheduler can start it each week. Restoring a backup to a new table and scanning that copy also leaves production alone, but it adds a restore, a scan-and-write job and a cleanup step every week. A Glue scan of the live table competes with production, and Streams miss the existing items.
- Note the constraints: full copy in S3, no production read capacity.
- Rule out a scan of the live table (capacity) and Streams (miss existing items).
- Compare the two that work: managed export versus restore plus scan.
- Choose PITR plus a scheduled export to S3 as the least overhead.
Exam tip: Full DynamoDB copy in S3 without read capacity and with least effort: PITR plus export to S3.
Collecting and Storing Data for ML and AI on AWS (MLA-C02) — the lesson that teaches this.