Bird
0
0

If a Lambda function processing DynamoDB Stream events fails, what is the default behavior in event-driven architecture?

medium📝 query result Q5 of 15
DynamoDB - with Serverless
If a Lambda function processing DynamoDB Stream events fails, what is the default behavior in event-driven architecture?
AThe event is retried until successful or discarded after max retries
BThe event is immediately deleted and lost
CThe entire DynamoDB table is locked
DThe Lambda function automatically scales to fix errors
Step-by-Step Solution
Solution:
  1. Step 1: Understand Lambda retry behavior

    Lambda retries failed events multiple times by default before discarding.
  2. Step 2: Confirm event handling on failure

    Events are retried to ensure processing, not deleted immediately.
  3. Final Answer:

    The event is retried until successful or discarded after max retries -> Option A
  4. Quick Check:

    Failed event retry = The event is retried until successful or discarded after max retries [OK]
Quick Trick: Failed events retry automatically [OK]
Common Mistakes:
MISTAKES
  • Thinking events are lost immediately on failure
  • Assuming table locks on Lambda failure
  • Believing Lambda auto-scales to fix errors

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes