AWS Certified Security – Specialty — Question 470

A company wants to analyze Amazon EC2 performance and utilization data in near real time for anomalies. The information that the company needs to analyze is in application logs. All the EC2 instances currently send logs to Amazon CloudWatch Logs.

A security engineer must set up the log aggregation. The security engineer must collect logs from all the company's AWS accounts into a centralized location to facilitate analysis.

Which solution will meet this requirement?

Answer options

Correct answer: D

Explanation

Amazon CloudWatch subscription filters combined with cross-account destinations provide a highly scalable, near real-time mechanism to stream logs from multiple AWS accounts to a centralized Amazon Kinesis Data Firehose stream. Option A is an inefficient manual process that does not support near real-time analysis, and Option B is incorrect because CloudWatch Logs Insights is a query interface, not a streaming service. Option C is incorrect because AWS Config aggregates resource configuration histories rather than application log streams.