nerdexam
Amazon

SOA-C02 · Question #110

An AWS Lambda function is intermittently failing several times a day. A SysOps administrator must find out how often this error has occurred in the last 7 days. Which action will meet this…

The correct answer is C. Use Amazon CloudWatch Logs Insights to query the associated Lambda function logs. https://aws.amazon.com/blogs/compute/operating-lambda-using-cloudwatch-logs-insights/

Submitted by zhang_li· Mar 30, 2026Monitoring, Logging, and Remediation

Question

An AWS Lambda function is intermittently failing several times a day. A SysOps administrator must find out how often this error has occurred in the last 7 days. Which action will meet this requirement in the MOST operationally efficient manner?

Options

  • AUse Amazon Athena to query the Amazon CloudWatch logs that are associated with the
  • BUse Amazon Athena to query the AWS CloudTrail logs that are associated with the Lambda
  • CUse Amazon CloudWatch Logs Insights to query the associated Lambda function logs
  • DUse Amazon Elasticsearch Service (Amazon ES) to stream the Amazon CloudWatch logs for

How the community answered

(28 responses)
  • A
    7% (2)
  • B
    4% (1)
  • C
    86% (24)
  • D
    4% (1)

Explanation

https://aws.amazon.com/blogs/compute/operating-lambda-using-cloudwatch-logs-insights/

Topics

#CloudWatch Logs Insights#Lambda error monitoring#log querying#operational troubleshooting

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice