AWS - DynamoDBGiven a DynamoDB Stream with StreamViewType set to KEYS_ONLY, what data will a stream record contain after an item update?AOnly the primary key attributes of the modified itemBThe entire item before and after the updateCOnly the new attribute values after the updateDNo data is recorded for updatesCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand KEYS_ONLY StreamViewTypeKEYS_ONLY records only the primary key attributes of changed items.Step 2: Apply to update eventAfter an update, only keys are recorded, not full or partial item images.Final Answer:Only the primary key attributes of the modified item -> Option AQuick Check:KEYS_ONLY = primary keys only [OK]Quick Trick: KEYS_ONLY streams capture only keys, not item data [OK]Common Mistakes:Assuming full item data is includedConfusing KEYS_ONLY with NEW_IMAGEThinking no data is recorded
Master "DynamoDB" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes API Gateway - Request and response mapping - Quiz 13medium API Gateway - Request and response mapping - Quiz 15hard AWS Lambda - Lambda pricing model - Quiz 8hard AWS Lambda - Environment variables in Lambda - Quiz 12easy AWS Lambda - Lambda execution model - Quiz 3easy CloudWatch - CloudWatch dashboards - Quiz 15hard DynamoDB - Creating a DynamoDB table - Quiz 13medium Elastic Load Balancing - Cross-zone load balancing - Quiz 14medium Elastic Load Balancing - Application Load Balancer (ALB) - Quiz 14medium SNS and SQS - SNS and SQS integration pattern (fan-out) - Quiz 12easy