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

A developer is updating several AWS Lambda functions and notices that all the Lambda functions share the same custom libraries. The developer wants to centralize all the libraries, update the libraries in a convenient way, and keep the libraries versioned.

Which solution will meet these requirements with the LEAST development effort?

  • A. Create an AWS CodeArtifact repository that contains all the custom libraries.
  • B. Create a custom container image for the Lambda functions to save all the custom libraries.
  • C. Create a Lambda layer that contains all the custom libraries.
  • D. Create an Amazon Elastic File System (Amazon EFS) file system to store all the custom libraries.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
MrTee
Highly Voted 1 year, 6 months ago
Selected Answer: C
the most efficient solution is to use a Lambda layer to store the common libraries, update them in one place, and reference them from each Lambda function that requires them.
upvoted 18 times
...
65703c1
Most Recent 5 months, 3 weeks ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
HuiHsin
1 year, 5 months ago
Selected Answer: C
The Lambda layer of option C provides a simpler solution without the need to introduce an additional CodeArtifact service.
upvoted 3 times
...
loctong
1 year, 6 months ago
Selected Answer: C
Lambda layers are a distribution mechanism for libraries, custom runtimes, and other function dependencies in AWS Lambda. By creating a Lambda layer, you can package and centrally manage the shared custom libraries for the Lambda functions.
upvoted 2 times
...
loctong
1 year, 6 months ago
Selected Answer: C
It should be Create a Lambda layer.
upvoted 1 times
...
Ryan1002
1 year, 6 months ago
Why not CodeArtifact? "CodeArtifact allows you to store artifacts using popular package managers and build tools like Maven, Gradle, npm, Yarn, Twine, pip, and NuGet. CodeArtifact can automatically fetch software packages on demand from public package repositories so you can access the latest versions of application dependencies."
upvoted 2 times
nbxyzd
1 week, 4 days ago
"LEAST development effort" While CodeArtifact can be integrated with Lambda, it typically involves additional steps such as setting up credentials and configuring the Lambda functions to access the repository. This can require more development effort compared to Lambda Layer which is specifically designed for Lambda.
upvoted 1 times
...
jipark
1 year, 3 months ago
"LEAST development effort"
upvoted 3 times
...
[Removed]
11 months, 1 week ago
We are updating a Lambda function. Lambda layers are specifically used for situations mentioned in this question
upvoted 1 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 ...