A developer must provide a custom machine-learning library (currently 15 GB and growing) to all AWS Lambda functions in an application. Which approach satisfies this requirement so every Lambda function can access the library?
Choose an answer
Tap an option to check your answer.
Correct answer: Put the library on an Amazon EFS file system and mount that EFS file system into every Lambda function..
Why this is the answer
The correct approach is to use Amazon EFS. Lambda layers have a size limit of 250 MB (unzipped), which is significantly smaller than the 15 GB library. Storing the library in Amazon S3 and downloading it at runtime would introduce significant latency and incur data transfer costs for every invocation. While Lambda container images support larger sizes (up to 10 GB), the question states the library is "15 GB and growing," exceeding the container image limit. Amazon EFS allows Lambda functions to access shared file systems up to multiple petabytes, making it the ideal solution for large, growing libraries that need to be shared across multiple functions.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed