ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 95 - DVA-C01 discussion

Report
Export

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
Answers
A.
Package only the modules the Lambda function requires
B.
Use Amazon DynamoDB instead of Amazon RDS
Answers
B.
Use Amazon DynamoDB instead of Amazon RDS
C.
Move the initialization of the variable Amazon RDS connection outside of the handler function
Answers
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
Answers
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
Answers
E.
Implement local caching of Amazon RDS data so Lambda can re-use the cache
Suggested answer: A, C
asked 16/09/2024
Tebello Mofokeng
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first