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 233 discussion

A developer has created a large AWS Lambda function. Deployment of the function is failing because of an InvalidParameterValueException error. The error message indicates that the unzipped size of the function exceeds the maximum supported value.

Which actions can the developer take to resolve this error? (Choose two.)

  • A. Submit a quota increase request to AWS Support to increase the function to the required size.
  • B. Use a compression algorithm that is more efficient than ZIP.
  • C. Break up the function into multiple smaller functions.
  • D. Zip the .zip file twice to compress the file more.
  • E. Move common libraries, function dependencies, and custom runtimes into Lambda layers.
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️

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
65703c1
1 year ago
Selected Answer: CE
CE is the correct answer.
upvoted 3 times
...
KarBiswa
1 year, 3 months ago
Selected Answer: CE
in this case quota cannot be increased https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#:~:text=The%20following%20quotas%20apply%20to%20function%20configuration%2C%20deployment%2C%20and%20execution.%20Except%20as%20noted%2C%20they%20can%27t%20be%20changed.
upvoted 2 times
...
SerialiDr
1 year, 4 months ago
Selected Answer: CE
C. Break up the function into multiple smaller functions. If the size of the Lambda function is too large, breaking it into smaller, more modular functions can help. Each function can be responsible for a specific part of the application's logic. This approach not only helps with deployment but also aligns with microservices best practices, potentially improving the maintainability and scalability of the application. E. Move common libraries, function dependencies, and custom runtimes into Lambda layers. Lambda layers are a way to manage and share common components across multiple Lambda functions. By moving libraries, dependencies, and runtimes into layers, you reduce the size of the Lambda function's deployment package. Layers can be shared across multiple functions, leading to more efficient use of storage and easier management of common code.
upvoted 4 times
...
Snape
1 year, 5 months ago
Selected Answer: CE
C and E
upvoted 2 times
...
nickqq
1 year, 5 months ago
A E no discussion
upvoted 2 times
...
kipr
1 year, 5 months ago
C and E https://www.examtopics.com/discussions/amazon/view/5330-exam-aws-certified-developer-associate-topic-1-question-17/
upvoted 2 times
...
Certified101
1 year, 6 months ago
Selected Answer: AD
A & E is correct
upvoted 1 times
...
TanTran04
1 year, 6 months ago
Selected Answer: AE
Following anasbakla document, we can see the default storage of Quota is 75 GB for uploaded functions (.zip file archives) and layers.
upvoted 1 times
preachr
8 months, 4 weeks ago
you are reading the wrong place check the line "Deployment package (.zip file archive) size"
upvoted 1 times
...
...
anasbakla
1 year, 7 months ago
A and E https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
upvoted 2 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 ...