How does AWS Lambda handle failure during event processing?

In AWS Lambda we can run a function in synchronous or asynchronous mode.
In synchronous mode, if AWS Lambda function fails, then it will just give an exception to the calling application.
In asynchronous mode, if AWS Lambda function fails then it will retry the same function at least 3 times.
If AWS Lambda is running in response to an event in Amazon DynamoDB or Amazon Kinesis, then the event will be retried till the Lambda function succeeds or the data expires. In DynamoDB or Kinesis, AWS maintains data for at least 24 hours.

Read the full book at www.amazon.com
Posted in AWS, AWS Associate Architect Interview Questions

Leave a Reply

Your email address will not be published. Required fields are marked *

*