Which of the following options is not AWS CloudWatch metric for AWS Lambda function?
Click on the arrows to vote for the correct answer
A. B. C. D.Answer: A.
The AWS/Lambda namespace includes the following metrics.
https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions-metrics.htmlAll the listed options are AWS CloudWatch metrics for AWS Lambda function except for the Dead Letter Error option, which is not a valid CloudWatch metric for AWS Lambda.
Here's a detailed explanation of each option:
A. Memory: This metric shows the amount of memory that the Lambda function uses during its execution. It is measured in megabytes (MB) and is helpful in optimizing the function's memory allocation.
B. Dead Letter Error: This option is not a valid CloudWatch metric for AWS Lambda. However, a Dead Letter Queue (DLQ) is a feature that allows you to capture and store failed events that a Lambda function can't process. When a Lambda function fails to process an event, it can send the event to a DLQ. You can then analyze the failed events to identify and fix the root cause of the issue.
C. Duration: This metric measures the amount of time that a Lambda function takes to execute. It is measured in milliseconds (ms) and is helpful in optimizing the function's performance.
D. Invocations: This metric shows the number of times that a Lambda function is invoked. It is helpful in understanding the function's usage patterns and can help you optimize the function's scaling and resource allocation.
In summary, the correct answer is B, Dead Letter Error, as it is not a valid AWS CloudWatch metric for AWS Lambda function.