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? (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
Correct Answer:
Verified
Q281: A Developer will be using the AWS
Q282: What are the steps to using the
Q283: A global company has an application running
Q284: A company needs to encrypt data at
Q285: A company requires all data that is
Q287: A development team uses AWS Elastic Beanstalk
Q288: In AWS, which security aspects are the
Q289: A company is building a compute-intensive application
Q290: A developer is planning to use an
Q291: A Developer has code running on Amazon