
Answer-first summary for fast verification
Answer: Utilize a Lambda layer for shared dependencies across functions.
The correct answer is C. By using a Lambda layer, the developer can package and share common dependencies across multiple Lambda functions. This approach reduces the need for updating each function individually and helps maintain consistency and security. Layers allow for easier management of dependencies, reducing duplication of effort and simplifying the update process. Additional options like maintenance schedules, runtime updates, or centralized repositories do not provide as streamlined a solution as using Lambda layers for this specific problem.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How can a developer minimize complexity when updating shared dependencies across multiple AWS Lambda functions to maintain security?
A
Establish a maintenance schedule for Lambda functions to receive updated dependencies.
B
Update Lambda functions to the latest runtime version.
C
Utilize a Lambda layer for shared dependencies across functions.
D
Implement a centralized AWS CodeCommit repository for managing dependencies.
No comments yet.