Developers must receive immediate notifications when a specific AWS Lambda function throws an error. Which configuration accomplishes this requirement?
Choose an answer
Tap an option to check your answer.
Correct answer: Create an Amazon SNS topic with each developer subscribed by email. Create a CloudWatch alarm on the Lambda Errors metric (using the function name as a dimension) and have the alarm publish to the SNS topic when it enters ALARM..
Why this is the answer
The correct solution uses Amazon CloudWatch alarms to monitor the Errors metric for the specific Lambda function. When the error count exceeds a defined threshold, the alarm transitions to the ALARM state and publishes a message to an Amazon SNS topic. Developers subscribed to this SNS topic via email will receive immediate notifications. The other options are incorrect because: EventBridge is primarily for event-driven architectures and routing events, not directly for monitoring CloudWatch metrics or creating alarms based on them in this manner. Amazon SES is an email sending service, not a monitoring or notification service for CloudWatch alarms or EventBridge rules. While it can send emails, it doesn't integrate directly with CloudWatch alarms for this purpose. Using developer emails as "dimensions" for a CloudWatch rule or metric is not a valid configuration.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed