Multiple Choice
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
Correct Answer:
Verified
Q51: A web application is designed to allow
Q52: What is the format of structured notification
Q53: A Development team would like to migrate
Q54: A company is developing a new online
Q55: An online retail company has deployed a
Q57: Given the following AWS CloudFormation template: <img
Q58: A developer is creating a serverless ecommerce
Q59: An application on AWS is using third-party
Q60: A Developer must encrypt a 100-GB object
Q61: A developer is building an application on