AWS - Serverless ArchitectureYou deployed a Lambda function triggered by DynamoDB Streams but it never runs. Which of the following is the most likely cause?AThe DynamoDB table does not have streams enabledBThe Lambda function code has a syntax errorCThe DynamoDB table has no read capacity unitsDThe Lambda function has no execution roleCheck Answer
Step-by-Step SolutionSolution:Step 1: Check stream enablementLambda triggers on DynamoDB Streams events, so streams must be enabled on the table.Step 2: Consider other causesWhile code errors or roles cause failures, the function would still be invoked if streams exist.Final Answer:The DynamoDB table does not have streams enabled -> Option AQuick Check:Streams must be enabled for Lambda trigger = C [OK]Quick Trick: Check if streams are enabled on the table first [OK]Common Mistakes:Assuming code errors prevent invocationIgnoring missing streamsConfusing read capacity with triggers
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