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:
Verified
Q15: An application is designed to use Amazon
Q16: An application takes 40 seconds to process
Q17: A Developer is creating an Auto Scaling
Q18: An application reads data from an Amazon
Q19: A deployment package uses the AWS CLI
Q21: An application is real-time processing millions of
Q22: The Developer for a retail company must
Q23: An on-premises application is implemented using a
Q24: An existing serverless application processes uploaded image
Q25: A Developer must trigger an AWS Lambda
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents