AWS Certified Developer Associate DVA-C02 Practice Question
Your team is splitting a monolithic application into several AWS Lambda functions. Each function relies on the same open-source Python libraries that total 30 MB. Which Lambda packaging option lets you upload these shared libraries once and reference them from every function, minimizing each function's deployment package size?
Lambda Layers let you place common components such as libraries, custom runtimes, or configuration files in a separate ZIP archive that is versioned and stored independently from your function code. After you publish a layer, multiple Lambda functions can reference it, so you do not need to bundle the same dependencies in every function's deployment package. This reduces package size, promotes code reuse, and simplifies dependency management. Lambda container images do bundle dependencies, but they are not shared across functions; execution role policies and environment variables are unrelated to packaging.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are AWS Lambda Layers, and how do they work?
Open an interactive chat with Bash
What is the difference between Lambda Layers and packaging dependencies into a deployment package?
Open an interactive chat with Bash
Are there any best practices for using Lambda Layers effectively?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Deployment
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .