Home › AWS Developer Associate › cloudcomputing › awsdevtroubleshooting › Which CloudWatch construct sends an SNS notifica…
Which CloudWatch construct sends an SNS notification when a Lambda's error rate exceeds 5% over a 5-minute window?
AA CloudFront cache behaviour
BA CloudWatch metric alarm on `Errors / Invocations` with an SNS topic as the alarm action
CA VPC flow log with custom filtering
DAn IAM trust policy attached to the SNS topic
Answer & Solution
Correct answer: B. A CloudWatch metric alarm on `Errors / Invocations` with an SNS topic as the alarm action
Build a metric math expression for error rate, create an alarm, set SNS as the alarm action. The other options are unrelated services or IAM concepts.
Related questions
A serverless app's Lambda functions are billed per-millisecond. Which cost-optimization stAn application sends events to an SQS queue. Suddenly the queue's `ApproximateNumberOfMessA Lambda function in a VPC hits an external HTTPS API. Cold starts now take 8+ seconds insA team needs to query Lambda logs ad-hoc with SQL-like syntax (filter by request id, errorWhich CloudWatch feature lets a developer build a dashboard showing graphs of multiple metA Lambda function called from API Gateway returns 502 Bad Gateway under load. Logs show "TA Lambda function's 99th-percentile latency is dominated by cold starts. Which optimisatioA Lambda function intermittently exceeds its memory limit. The team has identified high me