
Ultimate access to all questions.
In a serverless application, two AWS Lambda functions process photos: one for storing objects in S3 and metadata in DynamoDB, and another for fetching objects using metadata. Both use a shared Python library, nearing the deployment package size limit. How can the developer minimize package size with minimal operational impact?
A
Distribute the Python library across separate .zip archives for each Lambda function.
B
Utilize a Lambda layer containing the Python library for both functions.
C
Merge the functions into one, deploying a unified .zip archive.
D
Store the Python library in an S3 bucket and have Lambda functions reference it.