
Answer-first summary for fast verification
Answer: Establish a metric filter in CloudWatch Logs for the error pattern, link to an alarm that notifies via Amazon SNS when the error threshold is exceeded.
The correct answer is C. This solution employs Amazon CloudWatch Logs to create a metric filter with a pattern for the DECRYP_ERROR. By setting a CloudWatch alarm on this metric with a threshold >=1 and configuring it to send notifications via Amazon SNS, the company can achieve real-time monitoring and alerting with minimal operational overhead. Options A and B do not provide real-time monitoring, and option D involves more setup and maintenance. Thus, option C is the most efficient and straightforward solution.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
An AWS-hosted application on EC2 instances with Aurora database is encountering DECRYP_ERROR issues, only identified post-failure in automated tests. Implement a solution for real-time monitoring of these errors with minimal operational impact.
A
Set up a custom metric in CloudWatch, integrate with CloudTrail and Amazon SNS for alerting.
B
Deploy a Lambda function to periodically check CloudWatch logs for the error keyword and trigger Amazon SNS notifications.
C
Establish a metric filter in CloudWatch Logs for the error pattern, link to an alarm that notifies via Amazon SNS when the error threshold is exceeded.
D
Use the CloudWatch agent on EC2 to monitor and report DECRYP_ERROR metrics, with Amazon SNS configured for error notifications.
No comments yet.