Scenario: Your team is working on a project that requires integrating third-party dependencies into AWS Lambda functions. How would you manage these dependencies using Lambda Layers effectively?

  • Bundle all third-party dependencies into a single layer and attach it to all Lambda functions
  • Create separate layers for each third-party dependency and attach them to the respective Lambda functions
  • Include third-party dependencies directly within each Lambda function
  • Store third-party dependencies in an Amazon RDS database and access them from Lambda functions
By creating separate layers for each third-party dependency and associating them with the corresponding Lambda functions, you maintain modularity and manageability.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *