AWS - DynamoDBYou 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 ConsoleBCreate a new on-demand table and migrate data graduallyCDelete the provisioned table and recreate as on-demandDSwitch capacity mode using AWS CLI with immediate effectCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand capacity mode switching limitationsDynamoDB does not support direct switching between provisioned and on-demand modes without downtime.Step 2: Identify zero downtime migration methodCreating a new on-demand table and migrating data gradually avoids downtime.Final Answer:Create a new on-demand table and migrate data gradually -> Option BQuick 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 switchDeleting table causing downtimeAssuming CLI switch is instant
Master "DynamoDB" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes API Gateway - API keys and usage plans - Quiz 13medium API Gateway - API Gateway throttling - Quiz 1easy API Gateway - REST API creation - Quiz 1easy Auto Scaling - Auto Scaling groups - Quiz 8hard CloudWatch - Default vs custom metrics - Quiz 4medium DynamoDB - Creating a DynamoDB table - Quiz 10hard DynamoDB - Scan vs query performance - Quiz 9hard DynamoDB - Creating a DynamoDB table - Quiz 1easy Elastic Load Balancing - Target groups concept - Quiz 9hard Elastic Load Balancing - Network Load Balancer (NLB) - Quiz 2easy