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

A company is developing a set of AWS Lambda functions to process data. The Lambda functions need to use a common third-party library as a dependency. The library is frequently updated with new features and bug fixes. The company wants to ensure that the Lambda functions always use the latest version of the library.

Which solution will meet these requirements in the MOST operationally efficient way?

  • A. Store the dependency and the function code in an Amazon S3 bucket.
  • B. Create a Lambda layer that includes the library. Attach the layer to each Lambda function.
  • C. Install the dependency in an Amazon Elastic File System (Amazon EFS) file system. Attach the file system to each Lambda function.
  • D. Create a new Lambda function to load the library. Configure the existing Lambda functions to invoke the new Lambda function when the existing functions need to use the library.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
0bdf3af
1 month, 3 weeks ago
Selected Answer: C
C. EFS is for library which is being changed and we need the latest version always for our lambda function. Lambda layers won't work in this case because they are static and the loaded library version is frozen
upvoted 1 times
...
italiancloud2025
2 months, 1 week ago
Selected Answer: B
Es la mejor práctica para compartir dependencias entre múltiples Lambdas, cuando haya una actualización, solo actualizas la capa con la nueva versión de la librería
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago