AWS - Serverless ArchitectureWhich of the following is the correct way to enable DynamoDB Streams on a table?ACreate a Lambda function and attach it to the tableBEnable versioning on the DynamoDB tableCSet the stream specification to NEW_AND_OLD_IMAGES in the table settingsDIncrease the write capacity units of the tableCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify how to enable streamsDynamoDB Streams are enabled by setting the stream specification on the table.Step 2: Choose correct stream view typeNEW_AND_OLD_IMAGES captures both before and after images of changes.Final Answer:Set the stream specification to NEW_AND_OLD_IMAGES in the table settings -> Option CQuick Check:Stream enabled via table settings = B [OK]Quick Trick: Enable streams in table settings, not in Lambda [OK]Common Mistakes:Trying to enable streams by creating LambdaConfusing versioning with streamsChanging capacity units instead of streams
Master "Serverless Architecture" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes Advanced Security - Why defense in depth matters - Quiz 14medium Architecture Best Practices - High availability design patterns - Quiz 3easy Architecture Best Practices - Security pillar principles - Quiz 5medium CloudFormation - Nested stacks for modularity - Quiz 7medium Cost Optimization - Data transfer cost awareness - Quiz 9hard Cost Optimization - S3 storage class optimization - Quiz 9hard EKS - EKS cluster creation - Quiz 14medium Route 53 - Hosted zones concept - Quiz 7medium Serverless Architecture - Step Functions for workflows - Quiz 13medium Serverless Architecture - Cognito for user authentication - Quiz 8hard