A developer compiles an AWS Lambda function and packages the result as a .zip file. The developer uses the Functions page on the Lambda console to attempt to upload the local packaged .zip file. When pushing the package to Lambda, the console returns the following error: An error occurred (RequestEntityTooLargeException) when calling the UpdateFunctionCode operation Which solutions can the developer use to publish the code? (Choose two.)

QuestionsCategory: DVA-C01A developer compiles an AWS Lambda function and packages the result as a .zip file. The developer uses the Functions page on the Lambda console to attempt to upload the local packaged .zip file. When pushing the package to Lambda, the console returns the following error: An error occurred (RequestEntityTooLargeException) when calling the UpdateFunctionCode operation Which solutions can the developer use to publish the code? (Choose two.)
Admin Staff asked 3 months ago
A developer compiles an AWS Lambda function and packages the result as a .zip file. The developer uses the Functions page on the Lambda console to attempt to upload the local packaged .zip file. When pushing the package to Lambda, the console returns the following error:
An error occurred (RequestEntityTooLargeException) when calling the UpdateFunctionCode operation
Which solutions can the developer use to publish the code? (Choose two.)

A. Upload the package to Amazon S3. Use the Functions page on the Lambda console to upload the package from the S3 location.

B. Create an AWS Support ticket to increase the maximum package size.

C. Use the update-function-code AWS CLI command. Pass the --publish parameter.

D. Repackage the Lambda function as a Docker container image. Upload the image to Amazon Elastic Container Registry (Amazon ECR). Create a new Lambda function by using the Lambda console. Reference the image that is deployed to Amazon ECR.

E. Sign the .zip file digitally. Create a new Lambda function by using the Lambda console. Update the configuration of the new Lambda function to include the Amazon Resource Name (ARN) of the code signing configuration.






 

Suggested Answer: C E

Community Answer: AD




This question is in DVA-C01 AWS Certified Developer – Associate Exam
For getting AWS Certified Developer – Associate Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Amazon.
Trademarks, certification & product names are used for reference only and belong to Amazon.
The website does not contain actual questions and answers from Amazon's Certification Exam.
Question Tags:

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.