An application on AWS is using third-party APIs. The Developer needs to monitor API errors in the code, and wants to receive notifications if failures go above a set threshold value.
How can the Developer achieve these requirements?
A . Publish a custom metric on Amazon CloudWatch and use Amazon SES for notification.
B . Use an Amazon CloudWatch API-error metric and use Amazon SNS for notification.
C . Use an Amazon CloudWatch API-error metric and use Amazon SES for notification.
D . Publish a custom metric on Amazon CloudWatch and use Amazon SNS for notification.
Answer: D