A developer wants to reuse common libraries across multiple Lambda functions without duplicating code. What is the recommended approach?
-
A
Package the libraries in each deployment ZIP separately
-
B
Use Lambda Layers to share common dependencies
-
C
Store libraries in S3 and download at runtime
-
D
Use EFS mounted to all Lambda functions