Which of the following is a valid AWS Lambda configuration?
Click on the arrows to vote for the correct answer
A. B. C. D.Answer: C.
Options A and B are not correct because the units are in GB and NOT in MB.Option D is not correct.
Maximum time can be 900 seconds only.
Please refer to the below link to get further information:
https://docs.aws.amazon.com/lambda/latest/dg/limits.html.
AWS Lambda is a serverless compute service that allows you to run code without provisioning or managing servers. When creating a Lambda function, you can configure various parameters, including the memory size and timeout duration. The memory size controls the amount of memory allocated to the function, while the timeout duration determines the maximum amount of time the function can run before it times out.
Out of the options provided, the valid AWS Lambda configuration is option C: 2112 MB memory and 100 seconds timeout.
Option A has an excessive amount of memory (64 GB) and a high timeout duration (212 seconds), which is not a practical or cost-effective configuration for most Lambda functions.
Option B has an unrealistically large amount of memory (1376 GB) and a shorter timeout duration (120 seconds). This configuration is not practical as it would be very expensive and could lead to resource wastage.
Option D has a large memory size (3072 MB) but a very high timeout duration (1300 seconds), which again is not a practical or cost-effective configuration for most Lambda functions.
Therefore, option C with 2112 MB memory and 100 seconds timeout is the most practical and cost-effective configuration for most Lambda functions.