AWS Certified Solutions Architect – Professional — Question 282

A company needs to create a centralized logging architecture for all of its AWS accounts. The architecture should provide near-real-time data analysis for all AWS
CloudTrail logs and VPC Flow Logs across all AWS accounts. The company plans to use Amazon Elasticsearch Service (Amazon ES) to perform log analysis in the logging account.
Which strategy a solutions architect use to meet these requirements?

Answer options

Correct answer: B

Explanation

Option B is correct because Amazon Kinesis Data Firehose provides a native, highly scalable, and near-real-time integration to stream data directly into Amazon Elasticsearch Service (Amazon ES). Using CloudWatch subscription filters to route logs from individual accounts directly to a centralized Firehose stream minimizes latency and reduces management overhead. Options A, C, and D are less optimal because they rely on intermediate Amazon S3 storage and multiple Lambda functions, which increases architectural complexity and latency.