AWS - LambdaWhy might a Lambda function triggered by an EventBridge rule not execute as expected?AEventBridge only triggers Lambda on S3 eventsBLambda functions cannot be triggered by EventBridge rulesCThe EventBridge rule lacks permission to invoke the Lambda functionDLambda functions require manual invocation onlyCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand EventBridge to Lambda permissionsEventBridge rules must have permission to invoke the Lambda function via resource-based policies.Step 2: Eliminate incorrect statementsLambda can be triggered by EventBridge; EventBridge triggers many event types, not just S3; Lambda supports automatic invocation.Final Answer:The EventBridge rule lacks permission to invoke the Lambda function -> Option CQuick Check:EventBridge needs invoke permission on Lambda [OK]Quick Trick: Grant EventBridge permission to invoke Lambda to enable triggers [OK]Common Mistakes:Believing Lambda can't be triggered by EventBridgeThinking EventBridge triggers only S3 eventsAssuming Lambda requires manual invocation
Master "Lambda" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes AWS Lambda - Lambda concurrency and throttling - Quiz 9hard AWS Lambda - Lambda handler function structure - Quiz 2easy Auto Scaling - Cooldown periods - Quiz 7medium Auto Scaling - Launch templates - Quiz 4medium CloudWatch - CloudWatch alarms - Quiz 7medium DynamoDB - Why DynamoDB for NoSQL - Quiz 10hard Elastic Load Balancing - ALB vs NLB decision - Quiz 9hard RDS and Relational Databases - RDS pricing considerations - Quiz 4medium RDS and Relational Databases - Multi-AZ deployment for high availability - Quiz 5medium RDS and Relational Databases - RDS backup and snapshots - Quiz 1easy