Bird
0
0

You want to archive all changes to a DynamoDB table including before and after images for auditing. Which StreamViewType and AWS service combination is best?

hard📝 Application Q9 of 15
AWS - DynamoDB
You want to archive all changes to a DynamoDB table including before and after images for auditing. Which StreamViewType and AWS service combination is best?
ANEW_AND_OLD_IMAGES with AWS Lambda to store records in S3
BKEYS_ONLY with AWS Glue to catalog changes
CNEW_IMAGE with Amazon SNS to notify auditors
DOLD_IMAGE with Amazon CloudWatch Logs for storage
Step-by-Step Solution
Solution:
  1. Step 1: Identify needed data

    Auditing requires both before and after images of changes.
  2. Step 2: Choose StreamViewType

    NEW_AND_OLD_IMAGES provides both old and new item images.
  3. Step 3: Select service for archiving

    AWS Lambda can process stream records and store them in S3 for durable archive.
  4. Final Answer:

    NEW_AND_OLD_IMAGES with AWS Lambda to store records in S3 -> Option A
  5. Quick Check:

    Audit archive = NEW_AND_OLD_IMAGES + Lambda + S3 [OK]
Quick Trick: Use NEW_AND_OLD_IMAGES and Lambda to archive changes [OK]
Common Mistakes:
MISTAKES
  • Using KEYS_ONLY losing item data
  • Using SNS or CloudWatch Logs for storage
  • Choosing only new or old images

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes