The exercise URL - https://aws-dojo.com/excercises/excer...
AWS Lambda Layer works as common library which can be used by more than one Lambda functions. A layer is a ZIP archive that contains common libraries, a custom runtime, or other dependencies. Layers also help in keeping the deployment package small by keeping common libraries out of the Lambda function deployment.