DEA-C01 Practice Question 88: Logs Insights Lambda ETL Errors
AWS Certified Data Engineer – Associate (DEA-C01) · Test 9 · question 8 of 10
Several AWS Lambda functions that make up an ETL pipeline write logs to different CloudWatch Logs log groups. An engineer needs to find out quickly how many errors occurred per hour across all of the functions during the last night's run. Which approach requires the least setup?
Show answer and explanation
Answer:
*"With CloudWatch Logs Insights, you can interactively search and analyze your log data in Amazon CloudWatch Logs."* You can query several log groups at once with a purpose-built query language, and fields in AWS Lambda logs are discovered automatically. A query that filters error messages and aggregates them with stats count(*) by bin(1h) answers the question in minutes, with no setup beyond choosing the log groups (option C).
- A is wrong because exporting to S3 and building tables for Athena is more setup than the question needs, and export tasks are batch operations that take time. - B is wrong because counting by hand across many log streams is slow and error-prone. - D is wrong because writing, scheduling and running a Glue job for a one-time investigation is far more work than running an interactive query.