ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 155 - DVA-C02 discussion

Report
Export

A company has built an AWS Lambda function to convert large image files into output files that can be used in a third-party viewer application The company recently added a new module to the function to improve the output of the generated files However, the new module has increased the bundle size and has increased the time that is needed to deploy changes to the function code.

How can a developer increase the speed of the Lambda function deployment?

A.
Use AWS CodeDeploy to deploy the function code
Answers
A.
Use AWS CodeDeploy to deploy the function code
B.
Use Lambda layers to package and load dependencies.
Answers
B.
Use Lambda layers to package and load dependencies.
C.
Increase the memory size of the function.
Answers
C.
Increase the memory size of the function.
D.
Use Amazon S3 to host the function dependencies
Answers
D.
Use Amazon S3 to host the function dependencies
Suggested answer: B

Explanation:

Problem: Large bundle size increases Lambda deployment time.

Lambda Layers: Layers let you package dependencies separately from your function code. This optimizes the deployment package, making updates faster.

Modularization: Breaking down dependencies into layers improves code organization and reusability.

AWS Lambda Layers:https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html

asked 16/09/2024
j j
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first