AmazonAmazon
DVA-C02 · Question #292
DVA-C02 Question #292: Real Exam Question with Answer & Explanation
The correct answer is D: Create a CloudWatch metric filter to match the application error pattern in the log data. Set up a. See the full explanation below for the reasoning.
Submitted by salim_om· Mar 5, 2026Monitoring and Troubleshooting
Question
A company has a web application that is hosted on Amazon EC2 instances. The EC2 instances are configured to stream logs to Amazon CloudWatch Logs. The company needs to receive an Amazon Simple Notification Service (Amazon SNS) notification when the number of application error messages exceeds a defined threshold within a 5-minute period. Which solution will meet these requirements?
Options
- ARewrite the application code to stream application logs to Amazon SNS. Configure an SNS topic
- BConfigure a subscription filter on the CloudWatch Logs log group. Configure the filter to send an
- CInstall and configure the Amazon Inspector agent on the EC2 instances to monitor for errors.
- DCreate a CloudWatch metric filter to match the application error pattern in the log data. Set up a
Topics
#CloudWatch Logs#Metric Filters#CloudWatch Alarms#SNS
Community Discussion
No community discussion yet for this question.