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

A developer has an application that is composed of many different AWS Lambda functions. The Lambda functions all use some of the same dependencies. To avoid security issues, the developer is constantly updating the dependencies of all of the Lambda functions. The result is duplicated effort for each function.

How can the developer keep the dependencies of the Lambda functions up to date with the LEAST additional complexity?

  • A. Define a maintenance window for the Lambda functions to ensure that the functions get updated copies of the dependencies.
  • B. Upgrade the Lambda functions to the most recent runtime version.
  • C. Define a Lambda layer that contains all of the shared dependencies.
  • D. Use an AWS CodeCommit repository to host the dependencies in a centralized location.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
5 months ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
TanTran04
10 months, 1 week ago
Selected Answer: C
To share dependencies across multiple functions. After you create a layer, you can apply it to any number of functions in your account. Without layers, you need to include the same dependencies in each individual deployment package. https://docs.aws.amazon.com/lambda/latest/dg/chapter-layers.html
upvoted 2 times
...
dilleman
1 year ago
Selected Answer: C
C is correct.
upvoted 2 times
...
Digo30sp
1 year ago
Selected Answer: C
C) https://www.examtopics.com/discussions/amazon/view/96245-exam-aws-certified-developer-associate-topic-1-question-436/
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago