Topic 1 Question 488
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?
Store the dependency and the function code in an Amazon S3 bucket.
Create a Lambda layer that includes the library. Attach the layer to each Lambda function.
Install the dependency in an Amazon Elastic File System (Amazon EFS) file system. Attach the file system to each Lambda function.
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.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: 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
👍 1italiancloud20252025/02/17 - 正解だと思う選択肢: 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
👍 10bdf3af2025/03/06
シャッフルモード