QuestionQ103

VerifiedDeployment

A developer is creating an AWS Lambda function. The Lambda function needs an external library to connect to a third-party solution. The external library is a collection of files with a total size of 100 MB. The developer needs to make the external library available to the Lambda execution environment and reduce the Lambda package space.

Which solution will meet these requirements with the LEAST operational overhead?

Explanation

Lambda layers allow bundling external libraries separately from function code, reducing the deployment package size below Lambda limits. Layers can be reused across multiple functions and updated independently, providing the lowest operational overhead compared to mounting S3 buckets (B), using /tmp (C), or EFS (D).

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!