Bird
0
0

A developer tries to enable DynamoDB Streams but receives an error. Which of these is a likely cause?

medium📝 Debug Q6 of 15
AWS - DynamoDB
A developer tries to enable DynamoDB Streams but receives an error. Which of these is a likely cause?
AThe table is in a different AWS region
BThe table has no primary key defined
CThe table already has streams enabled with a different StreamViewType
DThe AWS CLI command used is 'create-stream' which does not exist
Step-by-Step Solution
Solution:
  1. Step 1: Identify invalid command usage

    'create-stream' is not a valid AWS CLI command for DynamoDB Streams.
  2. Step 2: Understand correct command

    Streams are enabled via 'update-table' command, so using 'create-stream' causes error.
  3. Final Answer:

    The AWS CLI command used is 'create-stream' which does not exist -> Option D
  4. Quick Check:

    Invalid CLI command causes enable error [OK]
Quick Trick: Use update-table, not create-stream, to enable streams [OK]
Common Mistakes:
MISTAKES
  • Using non-existent CLI commands
  • Ignoring region mismatches
  • Assuming streams require no primary key

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes