What action would minimize the Lambda compute time consumed?

September 18, 2021 by Admin

A Developer is creating a Lambda function and will be using external libraries that are not included in the standard Lambda libraries.

What action would minimize the Lambda compute time consumed?

  • Install the dependencies and external libraries at the beginning of the Lambda function.
  • Create a Lambda deployment package that includes the external libraries.
  • Copy the external libraries to Amazon S3, and reference the external libraries to the S3 location.
  • Install the external libraries in Lambda to be available to all Lambda functions.

Leave a Reply