
Answer-first summary for fast verification
Answer: Create a CloudWatch alarm for the ConsumedReadCapacityUnits metric; set threshold close to provisioned capacity; publish to the SNS topic.
To alert before throttling, monitor ConsumedReadCapacityUnits (or Write) vs Provisioned, set alarm at 80-90% to SNS for proactive scaling. Auto scaling would prevent but option is for alert. DynamoDB doesn't log to CloudWatch Logs by default for exceptions that way; metrics are better.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A DynamoDB table with provisioned capacity gets throttled during hightraffic events. The operations team needs an alert before throttling occurs. An SNS topic is already set up. What should be done next?
A
Create a CloudWatch alarm for the ConsumedReadCapacityUnits metric; set threshold close to provisioned capacity; publish to the SNS topic.
B
Turn on auto scaling; use EventBridge to publish to SNS during scaling events.
C
Turn on CloudWatch Logs for DynamoDB; create a metric filter for THROTTLING_EXCEPTION; create an alarm with SNS.
D
Store application logs in CloudWatch Logs; create a metric filter for THROTTLING_EXCEPTION; create an alarm with SNS.
No comments yet.