Bird
0
0

Which of the following is the correct way to enable DynamoDB Streams on a table?

easy📝 Configuration Q12 of 15
AWS - Serverless Architecture
Which of the following is the correct way to enable DynamoDB Streams on a table?
ACreate a Lambda function and attach it to the table
BEnable versioning on the DynamoDB table
CSet the stream specification to NEW_AND_OLD_IMAGES in the table settings
DIncrease the write capacity units of the table
Step-by-Step Solution
Solution:
  1. Step 1: Identify how to enable streams

    DynamoDB Streams are enabled by setting the stream specification on the table.
  2. Step 2: Choose correct stream view type

    NEW_AND_OLD_IMAGES captures both before and after images of changes.
  3. Final Answer:

    Set the stream specification to NEW_AND_OLD_IMAGES in the table settings -> Option C
  4. Quick Check:

    Stream enabled via table settings = B [OK]
Quick Trick: Enable streams in table settings, not in Lambda [OK]
Common Mistakes:
  • Trying to enable streams by creating Lambda
  • Confusing versioning with streams
  • Changing capacity units instead of streams

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes