AWS Certified Solutions Architect – Professional (SAP-C02) — Question 275

A company has developed a hybrid solution between its data center and AWS. The company uses Amazon VPC and Amazon EC2 instances that send application logs to Amazon CloudWatch. The EC2 instances read data from multiple relational databases that are hosted on premises.

The company wants to monitor which EC2 instances are connected to the databases in near-real time. The company already has a monitoring solution that uses Splunk on premises. A solutions architect needs to determine how to send networking traffic to Splunk.

How should the solutions architect meet these requirements?

Answer options

Correct answer: B

Explanation

Option B is correct because streaming VPC Flow Logs to Amazon Kinesis Data Firehose via a CloudWatch Logs subscription filter provides a highly scalable, serverless, and near-real-time pipeline directly to Splunk. Option A relies on periodic S3 exports, which do not meet the near-real-time requirement. Options C and D introduce unnecessary complexity and components like Athena or Kinesis Data Analytics that are not required for simple log forwarding.