exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 446 discussion

A developer adds new dependencies to an existing AWS Lambda function. The developer cannot deploy the Lambda function because the unzipped deployment package exceeds the maximum size quota for the Lambda function. The instruction set architecture of the Lambda function is x86_64.

The developer must implement a solution to deploy the Lambda function with the new dependencies.

Which solution will meet these requirements?

  • A. Create a snapshot of all the dependencies. Configure the Lambda function to use the snapshot.
  • B. Change the instruction set architecture of the Lambda function to use an arm64 architecture.
  • C. Associate an Amazon Elastic Block Store (Amazon EBS) volume with the Lambda function. Store all the dependencies on the EBS volume.
  • D. Create and deploy a Lambda container image with all the dependencies.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
vbloise
2 days, 8 hours ago
Selected Answer: D
Explanation: AWS Lambda has a maximum unzipped package size limit of 250 MB when you deploy using ZIP files. However, Lambda container images can be up to 10 GB in size, allowing you to include much larger sets of code and dependencies. Since the unzipped package is too large, moving to a container image is the correct and AWS-recommended solution. Other options are incorrect because: A. Snapshots don't apply to Lambda deployment — that's not a supported feature. B. Changing to arm64 doesn't solve the package size problem. It just changes the architecture (and possibly reduces costs). C. Lambda cannot mount EBS volumes directly — that's not how Lambda storage works.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago