exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 436 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 436
Topic #: 1
[All AWS Certified Developer Associate Questions]

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
KT_Yu
Highly Voted 2 years, 3 months ago
Selected Answer: C
C is the correct one!
upvoted 16 times
saysamsuf
2 years, 3 months ago
@KT_Yu: You are really a gem. Thanks for coming through especially in the 400 series questions
upvoted 5 times
Phinx
2 years, 3 months ago
Agree with you. I am really struggling to the other question because lack of community feedback.
upvoted 5 times
tieyua
2 years, 3 months ago
It's cold and lonely out here, but we will soldier on ...
upvoted 2 times
...
...
...
...
pancman
Most Recent 2 years, 2 months ago
This question was on the exam today (Feb 2023)
upvoted 2 times
...
tony554556
2 years, 3 months ago
C for sure.
upvoted 1 times
...
DrCloud
2 years, 3 months ago
Selected Answer: C
-- Lambda layers provide a convenient way to package libraries and other "dependencies" that you can use with your Lambda functions. https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html#configuration-layers-path -- Keeping function’s package code smaller: With Layers, it’s possible to share common libraries without an additional invocation. Having a large codebase per function can be a problem. It can make it more difficult to maintain and test the application, for example. It can make deployment slower as well. This is especially true for large dependencies, such as mathematical/statistical packages, video processing libraries, etc. Also when the same code features are replicated in multiple functions. To keep packages smaller, Layers allow isolating features that are commonly used by two or more functions. https://dashbird.io/knowledge-base/aws-lambda/lambda-layers/
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago