Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can a company set up a notification system for its web application hosted on Amazon EC2, using Amazon CloudWatch Logs and Amazon SNS, to alert when the error message count exceeds a specific threshold within 5 minutes?
A
Modify application code for direct SNS logging and configure an SNS topic for error threshold notifications.
B
Use CloudWatch Logs subscription filters to trigger SNS notifications upon exceeding the error threshold.
C
Deploy Amazon Inspector on EC2 instances for error monitoring and configure it for SNS notifications at the error threshold.
D
Create a CloudWatch metric filter for error pattern matching, establish an alarm, and set it to notify via SNS when the error count crosses the threshold.