Quiz: Module 14: Monitoring and Observability
Test your understanding of the concepts covered in this module.
8 questions
- 2
A Lambda function processes API Gateway requests. The operations team wants to monitor the function's latency and be alerted when the worst-case response time (experienced by the slowest 1% of requests) exceeds 2 seconds. Which CloudWatch statistic should the team use for the alarm?
- 4
A company runs a microservices application with API Gateway, three Lambda functions, a DynamoDB table, and an SQS queue. Users report intermittent slow responses, but the team cannot determine which service is causing the delay. CloudWatch metrics show that overall error rates are normal. Which AWS service should the team use to identify the specific service causing the latency, and why?
- 5
Which CloudWatch Logs Insights query finds the 10 most frequent error messages in a log group over the last hour?
- 6
An operations team receives 40 CloudWatch alarm notifications per day. Most are for brief CPU spikes on EC2 instances that resolve within minutes without any user impact. The team has started ignoring all alarm notifications. Which TWO changes should the team make to improve their alerting strategy? (Select TWO.)Select multiple
- 7
What is the primary advantage of structured JSON logging over unstructured text logging in CloudWatch Logs?
- 8
A solutions architect is designing a monitoring dashboard for a production web application. The application runs on ECS Fargate behind an ALB. The architect wants the dashboard to provide enough information to diagnose most production issues at a glance. Which four metrics should the architect prioritize on the dashboard, following the four golden signals framework?
- 9
A Lambda function writes verbose debug logs in production, generating 50 GB of log data per month in CloudWatch Logs. The team wants to reduce logging costs without losing the ability to troubleshoot production issues. Which TWO approaches should the team implement? (Select TWO.)Select multiple
- 10
A development team enables X-Ray tracing on their API Gateway and Lambda function. The X-Ray service map shows that the Lambda function takes 200ms on average, but the DynamoDB `GetItem` subsegment takes 150ms of that time. The team wants to reduce the overall latency. Which approach should the team evaluate first?