
Answer-first summary for fast verification
Answer: Perform a CloudWatch Logs Insights query that uses the stats command and count function.
Amazon CloudWatch Logs Insights enables you to interactively search and analyze your log data in Amazon CloudWatch Logs. You can run queries across multiple log groups simultaneously and use aggregation functions like the `stats` command to count and group error types.
Author: Ritesh Yadav
Ultimate access to all questions.
Question #47 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 CloudOps engineer do to meet this requirement?
A
Perform a CloudWatch Logs Insights query that uses the stats command and count function.
B
Perform a CloudWatch Logs search that uses the groupby keyword and count function.
C
Perform an Amazon Athena query that uses the SELECT and GROUP BY keywords.
D
Perform an Amazon RDS query that uses the SELECT and GROUP BY keywords.
No comments yet.