Solved

When Writing a Lambda Function, What Is the Benefit of Instantiating

Question 20

Multiple Choice

When writing a Lambda function, what is the benefit of instantiating AWS clients outside the scope of the handler?


A) Legibility and stylistic convention
B) Taking advantage of connection re-use
C) Better error handling
D) Creating a new instance per invocation

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents