The Lambda function below is being called through an API using Amazon API Gateway. The average execution time for the Lambda function is about 1 second. The pseudocode for the Lambda function is as shown in the exhibit. What two actions can be taken to improve the performance of this Lambda function without increasing the cost of the solution? (Choose two.)
A) Package only the modules the Lambda function requires
B) Use Amazon DynamoDB instead of Amazon RDS
C) Move the initialization of the variable Amazon RDS connection outside of the handler function
D) Implement custom database connection pooling with the Lambda function
E) Implement local caching of Amazon RDS data so Lambda can re-use the cache
Correct Answer:
Verified
Q30: A Developer is developing an application that
Q31: An application running on EC2 instances is
Q32: An application overwrites an object in Amazon
Q33: A company is using AWS CodeBuild to
Q34: A Developer needs to use AWS X-Ray
Q36: An application will ingest data at a
Q37: A development team is using AWS Elastic
Q38: A gaming company is developing a mobile
Q39: A static website is hosted in an
Q40: A company needs to encrypt data at
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