QuestionQ3

Deployment

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
Explanation

Lambda has a hard 250 MB unzipped size limit; quota increases cannot override this architectural constraint (A is invalid). Breaking functions into modules (C) reduces individual package sizes and aligns with microservices patterns. Moving dependencies and runtimes to Lambda layers (E) keeps deployment packages lightweight while sharing common libraries across functions. Double-zipping (D) offers no benefit since decompression still yields the same unzipped size.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!