AWS Certified Solutions Architect – Professional — Question 834

A company has multiple AWS accounts hosting IT applications. An Amazon CloudWatch Logs agent is installed on all Amazon EC2 instances. The company wants to aggregate all security events in a centralized AWS account dedicated to log storage.
Security Administrators need to perform near-real-time gathering and correlating of events across multiple AWS accounts.
Which solution satisfies these requirements?

Answer options

Correct answer: C

Explanation

Option C is correct because using CloudWatch Logs subscription filters to stream logs to a centralized Amazon Kinesis Data Stream in another account, and then using Amazon Kinesis Data Firehose to write to Amazon S3, is the standard AWS-recommended pattern for real-time cross-account log aggregation. Option A is wrong because hourly exports to S3 do not meet the near-real-time requirement. Options B and D are incorrect because CloudWatch Logs cannot stream cross-account directly to another CloudWatch Logs group or directly to Kinesis Data Firehose without utilizing Kinesis Data Streams as the destination.