AWS - DynamoDBA developer tries to add a new LSI to an existing DynamoDB table but receives an error. What is the reason?ALSIs must have a HASH key different from the base table.BLSIs require a different partition key than the base table.CLSIs consume separate read and write capacity units.DLSIs can only be defined when the table is created and cannot be added later.Check Answer
Step-by-Step SolutionSolution:Step 1: Recall LSI modification rulesLSIs must be created with the table; they cannot be added or removed after creation.Step 2: Analyze other optionsClaims about different partition key, separate capacity units, or different HASH key are incorrect or describe GSI traits.Final Answer:LSIs can only be defined when the table is created and cannot be added later. -> Option DQuick Check:LSI modification = Only at table creation [OK]Quick Trick: LSIs fixed at creation, no later additions allowed [OK]Common Mistakes:MISTAKESTrying to add LSI after table creationConfusing LSI and GSI capabilitiesMisunderstanding key requirements for LSI
Master "DynamoDB" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes API Gateway - Request and response mapping - Quiz 10hard AWS Lambda - Lambda pricing model - Quiz 15hard Auto Scaling - Scaling policies (target tracking, step, simple) - Quiz 7medium Auto Scaling - Scaling policies (target tracking, step, simple) - Quiz 11easy DynamoDB - Creating a DynamoDB table - Quiz 7medium DynamoDB - Creating a DynamoDB table - Quiz 13medium Elastic Load Balancing - ALB vs NLB decision - Quiz 10hard RDS and Relational Databases - RDS backup and snapshots - Quiz 3easy RDS and Relational Databases - RDS supported engines - Quiz 10hard SNS and SQS - SNS topics and subscriptions - Quiz 6medium