Bird
0
0

You created an EventBridge rule to trigger a Lambda function on S3 object creation, but the Lambda never runs. What is the most likely cause?

medium📝 Debug Q14 of 15
AWS - CloudWatch
You created an EventBridge rule to trigger a Lambda function on S3 object creation, but the Lambda never runs. What is the most likely cause?
AThe rule's event pattern does not match S3 object creation events
BThe Lambda function has no code
CS3 does not support EventBridge integration
DThe Lambda function is in a different AWS region
Step-by-Step Solution
Solution:
  1. Step 1: Check EventBridge and S3 integration

    S3 supports EventBridge events for object creation, so integration is possible.
  2. Step 2: Verify event pattern correctness

    If the event pattern does not correctly specify S3 object creation events, the rule won't trigger the Lambda.
  3. Step 3: Consider Lambda region

    EventBridge and Lambda must be in the same region; cross-region triggers do not work.
  4. Final Answer:

    The rule's event pattern does not match S3 object creation events -> Option A
  5. Quick Check:

    Incorrect event pattern blocks trigger = B [OK]
Quick Trick: Check event pattern matches actual event source and type [OK]
Common Mistakes:
  • Assuming Lambda runs without correct event pattern
  • Ignoring region mismatch issues
  • Believing S3 can't send events to EventBridge

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes