D4: Querying Logs & Interpreting Metrics/Traces
AWS Associate AWS Certified Developer – Associate exam practice questions · 10 flashcards
Question
CloudWatch Logs Insights sample query?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Querying Logs & Interpreting Metrics/Traces practice questions and answers
- CloudWatch Logs Insights sample query?fields @timestamp, @message | filter @message like /ERROR/ | sort @timestamp desc | limit 20
- Find slow Lambda invocations?Logs Insights on REPORT lines: stats max(@duration) by bin(5m).
- Lambda REPORT log line contains?Duration, Billed Duration, Memory Size, Max Memory Used, Init Duration (cold start).
- Key Lambda metrics?Invocations, Errors, Throttles, Duration, ConcurrentExecutions, IteratorAge (streams).
- Key API Gateway metrics?Count, 4XXError, 5XXError, Latency, IntegrationLatency, CacheHitCount.
- Latency vs IntegrationLatency?Latency: total API Gateway time. IntegrationLatency: backend time. Difference = API Gateway overhead.
- Key SQS metric for backlog?ApproximateNumberOfMessagesVisible and ApproximateAgeOfOldestMessage.
- Key DynamoDB throttling metrics?ThrottledRequests, ReadThrottleEvents, WriteThrottleEvents.
- Interpreting X-Ray traces?Segments/subsegments show time per service call and errors/faults.
- Dashboards and insights for app health?CloudWatch dashboards, Application Signals, Container Insights, Lambda Insights, ServiceLens.