Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 280 discussion

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.
  • B. Use Lambda layers to package and load dependencies.
  • C. Increase the memory size of the function.
  • D. Use Amazon S3 to host the function dependencies.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Saudis
1 week, 5 days ago
Selected Answer: B
Keyword => increased the bundle size
upvoted 1 times
...
65703c1
5 months, 3 weeks ago
Selected Answer: B
B is the correct answer.
upvoted 3 times
...
SerialiDr
8 months, 1 week ago
Selected Answer: B
B. Use Lambda layers to package and load dependencies. Lambda layers are a way to manage your function's dependencies separately, reducing the size of the deployment package that needs to be uploaded when the function's code changes. By moving the large module or other dependencies to a Lambda layer, only changes to the function's own code need to be uploaded during deployment, which can significantly speed up the deployment process. This approach allows for more efficient management of libraries and dependencies, making deployments quicker and more streamlined without altering the function's memory size, which would not directly impact deployment speed, or relying on external services like Amazon S3 or AWS CodeDeploy in a way that doesn't specifically address deployment speed for large dependencies.
upvoted 2 times
...
Abdullah22
8 months, 1 week ago
Selected Answer: B
Lambda layers allow packaging shared dependencies outside the function code, resulting in smaller deployment packages for subsequent updates. This significantly reduces the time required to upload the code to AWS during deployment.
upvoted 2 times
...
KarBiswa
8 months, 2 weeks ago
Selected Answer: B
Its a lambda layer scenario
upvoted 1 times
...
CrescentShared
8 months, 3 weeks ago
Selected Answer: B
Must be B
upvoted 3 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 ...