AWS Certified Solutions Architect – Professional — Question 909

A company has a legacy application running on servers on premises. To increase the application's reliability, the company wants to gain actionable insights using application logs. A Solutions Architect has been given following requirements for the solution:
✑ Aggregate logs using AWS.
✑ Automate log analysis for errors.
✑ Notify the Operations team when errors go beyond a specified threshold.
What solution meets the requirements?

Answer options

Correct answer: D

Explanation

Installing the Amazon CloudWatch agent on-premises is a standard and efficient way to stream logs directly to Amazon CloudWatch Logs. Once in CloudWatch Logs, metric filters can scan the incoming log data for specific error patterns and turn them into numerical metrics. These metrics can then trigger a CloudWatch alarm to notify the Operations team when thresholds are breached, making option D the most straightforward and native AWS solution.