Examlex

Solved

The Lambda Function Below Is Being Called Through an API

question 56

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. 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 What two actions can be taken to improve the performance of this Lambda function without increasing the cost of the solution? (Choose two.)


Definitions:

Total Fixed Cost

The sum of all costs that remain constant regardless of the level of output or production in a business.

Total Cost

The aggregate sum of all costs, both fixed and variable, incurred in the production of goods or services.

Output

The total amount of goods or services produced by a company, industry, or economy in a given period.

Total Fixed Cost

The total of all expenses that stay unchanged no matter the production volume or output in the short term.

Related Questions