Bird
0
0

A developer wrote this command to enable encryption but it failed: aws dynamodb update-table --table-name MyTable --sse-specification Enabled=true. Why?

medium📝 Debug Q7 of 15
DynamoDB - Backup and Recovery
A developer wrote this command to enable encryption but it failed: aws dynamodb update-table --table-name MyTable --sse-specification Enabled=true. Why?
AEncryption cannot be enabled using update-table command
BThe table name is invalid
CThe command syntax is correct, failure is due to network issues
DEncryption is enabled by default, so this command is unnecessary
Step-by-Step Solution
Solution:
  1. Step 1: Understand update-table limitations

    Encryption settings cannot be changed after table creation using update-table.
  2. Step 2: Identify why the command failed

    The command fails because enabling encryption post-creation is not supported.
  3. Final Answer:

    Encryption cannot be enabled using update-table command -> Option A
  4. Quick Check:

    Encryption enablement = Only at creation, not update [OK]
Quick Trick: Use create-table to enable encryption, not update-table [OK]
Common Mistakes:
MISTAKES
  • Trying to enable encryption with update-table
  • Assuming network issues cause failure
  • Believing encryption is always on

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes