An application on AWS is using third-party APIs. A developer needs to monitor API errors in the code. The developer needs to receive notifications if failures reach a set threshold value.
How can the developer meet these requirements?
A.
Publish a custom metric to Amazon CloudWatch. Create a metric alarm. Use Amazon Simple Email Service (Amazon SES) for notification.
B.
Use an Amazon CloudWatch API error metric. Use Amazon Simple Notification Service (Amazon SNS) for notification.
C.
Use an Amazon CloudWatch API error metric. Use Amazon Simple Email Service (Amazon SES) for notification.
D.
Publish a custom metric to Amazon CloudWatch. Create a metric alarm. Use Amazon Simple Notification Service (Amazon SNS) for notification.
Ans: D
https://docs.aws.amazon.com/apigateway/latest/developerguide/monitoring_automated_manual.html
Creating CloudWatch alarms to monitor API Gateway:
You can create a CloudWatch alarm that sends an Amazon SNS message when the alarm changes state. An alarm watches a single metric over a time period you specify, and performs one or more actions based on the value of the metric relative to a given threshold over a number of time periods. The action is a notification sent to an Amazon SNS topic .
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
a15ce96
1 year, 3 months agomgonblan
2 years, 2 months agomichaldavid
2 years, 7 months agok1kavi1
2 years, 7 months agoDrCloud
2 years, 7 months ago