AWS Certified Data Engineer Associate · Free Practice Question Easy

Question 25

A data engineering team is using Amazon DynamoDB to store user profiles and needs to enable DynamoDB Streams to track real-time changes in the table. The team is primarily interested in auditing the data, including viewing both the previous and new states of items that are modified. Which stream option should the team select to capture both the old and new versions of the modified items?

  • A

    New image

  • B

    Keys only

  • C

    Old image

  • D

    New and old images

Reveal correct answer

Correct answer: D

A.

The "New image" option captures only the new version of the item after the modification, but does not retain the old state.

B.

The "Keys only" option captures only the primary keys of the modified items, which does not provide information about the content of the items before or after the modification.

C.

The "Old image" option captures only the state of the item before the modification, which is insufficient for auditing purposes where both the old and new states are required.

D.

The "New and old images" option captures both the old and new versions of items, which is useful for auditing changes, as it provides a complete before-and-after view of the data.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need