nerdexam
Amazon

SCS-C02 · Question #391

A company is planning to run a number of Admin related scripts using the AWS Lambda service. There is a need to understand if there are any errors encountered when the script run. How can this be…

The correct answer is A. Use Cloudwatch metrics and logs to watch for errors. The AWS Documentation mentions the following AWS Lambda automatically monitors Lambda functions on your behalf, reporting metrics through Amazon CloudWatch. To help you troubleshoot failures in a function. Lambda logs all requests handled by your function and also automatically…

Submitted by tyler.j· Mar 6, 2026Security Logging and Monitoring

Question

A company is planning to run a number of Admin related scripts using the AWS Lambda service. There is a need to understand if there are any errors encountered when the script run. How can this be accomplished in the most effective manner.

Options

  • AUse Cloudwatch metrics and logs to watch for errors
  • BUse Cloudtrail to monitor for errors
  • CUse the AWS Config service to monitor for errors
  • DUse the AWS inspector service to monitor for errors

How the community answered

(65 responses)
  • A
    74% (48)
  • B
    5% (3)
  • C
    14% (9)
  • D
    8% (5)

Explanation

The AWS Documentation mentions the following AWS Lambda automatically monitors Lambda functions on your behalf, reporting metrics through Amazon CloudWatch. To help you troubleshoot failures in a function. Lambda logs all requests handled by your function and also automatically stores logs generated by your code through Amazon CloudWatch Logs. Option B,C and D are all invalid because these services cannot be used to monitor for errors.

Topics

#CloudWatch metrics#CloudWatch logs#Lambda monitoring#error detection

Community Discussion

No community discussion yet for this question.

Full SCS-C02 Practice