nerdexam
AmazonAmazon

DVA-C02 · Question #433

DVA-C02 Question #433: Real Exam Question with Answer & Explanation

The correct answer is D: Package the application code and dependencies into a container image. Push the image to an. A 500 MB dependency exceeds Lambda's 250 MB unzipped deployment package limit, so the solution must use a container image pushed to Amazon ECR, which supports images up to 10 GB.

Submitted by sofia.br· Mar 5, 2026Development with AWS Services

Question

A developer needs to deploy the code for a new application on an AWS Lambda function. The application needs a dependency file that is 500 MB to run the business logic. Which solution will meet these requirements?

Options

  • ACompress the application code and dependencies into a .zip file. Directly upload the .zip file as a
  • BCompress the application code and dependencies into a .zip file. Upload the .zip file to an
  • CPackage the application code and dependencies into a container image. Upload the image to an
  • DPackage the application code and dependencies into a container image. Push the image to an

Explanation

A 500 MB dependency exceeds Lambda's 250 MB unzipped deployment package limit, so the solution must use a container image pushed to Amazon ECR, which supports images up to 10 GB.

Common mistakes.

  • A. Directly uploading a .zip file as a Lambda deployment package is limited to 50 MB zipped and 250 MB unzipped; a 500 MB dependency would exceed the unzipped limit.
  • B. Uploading the .zip to S3 and referencing it from Lambda still enforces the 250 MB unzipped size limit, so a 500 MB dependency cannot be deployed this way.
  • C. Packaging into a container image is correct, but uploading to Amazon S3 is not the right destination; container images for Lambda must be pushed to Amazon ECR, not S3.

Concept tested. Lambda container image deployment for large dependencies via ECR

Reference. https://docs.aws.amazon.com/lambda/latest/dg/images-create.html

Community Discussion

No community discussion yet for this question.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions