AWS Certified SysOps Administrator – Associate — Question 169

A company has a critical serverless application that uses multiple AWS Lambda functions. Each Lambda function generates 1 GB of log data daily in its own Amazon CloudWatch Logs log group. The company's security team asks for a count of application errors, grouped by type, across all of the log groups.

What should a SysOps administrator do to meet this requirement?

Answer options

Correct answer: A

Explanation

The correct answer is A, as CloudWatch Logs Insights is specifically designed for querying log data efficiently, allowing administrators to use the stats command to aggregate and count errors. Option B is incorrect because the groupby keyword does not exist in CloudWatch Logs search syntax. Options C and D are also incorrect because Amazon Athena and Amazon RDS are not directly used for querying CloudWatch Logs.