Happy to Announce Our New Discussion Forum | Join Now

WhizQuiz Oct 26th, 2018

What is the default timeout for a Lambda function?

  • A. 3 seconds
  • B. 5 seconds
  • C. 1 minute
  • D. 5 minutes

0 voters

Option A is the correct answer.

All calls made to AWS Lambda must complete execution within 300 seconds. The default timeout is 3 seconds, but you can set the timeout to any value between 1 and 300 seconds.

For more information on AWS Lambda, please refer to the link:

The correct answer is 3 seconds

1 Like

Hi All,
AWS clearly mentions the default timeout is 3 seconds, and the reason is - to avoid unnecessary billing.
https://docs.aws.amazon.com/lambda/latest/dg/resource-model.html

Thanks
Viswanath