0 votes
in AWS by

 A Lambda function with proper IAM roles has been developed with the default settings and uses Node.js. The function makes calls to a DynamoDB table. It is estimated that the Lambda function would run for 5 minutes.

When the lambda function is executed, it does not add the required rows to the DynamoDB table and the function execution timeouts.

What needs to be changed to ensure that the Lambda function works as desired?

1 Answer

0 votes
by

Answer - B.

If the lambda function was created with the default settings, it would have the default timeout of 3 seconds, as shown below.

Since the function executes in a timespan of 300 seconds, this value needs to be changed.

Option A is incorrect since the programming language is not an issue.

Option C is incorrect since it does not mention the amount of memory required in the question.

Option D is incorrect since IAM roles should be assigned to the Lambda function.

...