
Explanation:
Amazon CloudWatch Logs Insights allows you to interactively search and analyze your log data. You can query multiple log groups simultaneously (up to 50). Using the 'stats' command with the 'count()' function and a 'by' clause allows you to aggregate and count specific events (like errors) grouped by a specific field (like error type). Option B is incorrect because standard log search doesn't support 'groupby' syntax. Option C is possible but requires exporting logs to S3 first, which adds complexity. Option D is irrelevant as the data is in CloudWatch, not an RDS database.
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.
E
None
F
None
No comments yet.