Bird
0
0

You want to migrate a DynamoDB table from provisioned to on-demand mode without downtime. What is the recommended approach?

hard📝 Application Q9 of 15
AWS - DynamoDB
You want to migrate a DynamoDB table from provisioned to on-demand mode without downtime. What is the recommended approach?
AUpdate the table capacity mode setting directly via AWS Console
BCreate a new on-demand table and migrate data gradually
CDelete the provisioned table and recreate as on-demand
DSwitch capacity mode using AWS CLI with immediate effect
Step-by-Step Solution
Solution:
  1. Step 1: Understand capacity mode switching limitations

    DynamoDB does not support direct switching between provisioned and on-demand modes without downtime.
  2. Step 2: Identify zero downtime migration method

    Creating a new on-demand table and migrating data gradually avoids downtime.
  3. Final Answer:

    Create a new on-demand table and migrate data gradually -> Option B
  4. Quick Check:

    Zero downtime migration = new table + gradual data move [OK]
Quick Trick: Migrate data to new on-demand table for zero downtime [OK]
Common Mistakes:
  • Trying direct mode switch
  • Deleting table causing downtime
  • Assuming CLI switch is instant

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes