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? (Select 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
Q358: What is required to trace Lambda-based applications
Q359: A developer converted an existing program to
Q360: A developer is provided with an HTTPS
Q361: During non-peak hours, a Developer wants to
Q362: A developer is planning to use an
Q364: A company is running a custom application
Q365: A developer wants to ensure the Amazon
Q366: A developer is creating an application to
Q367: An application on AWS is using third-party
Q368: A Developer wants to use AWS X-Ray
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