Answer – B
The AWS Documentation mentions the following.
VPC Flow Logs is a feature that enables you to capture information about the IP traffic going to and from network interfaces in your VPC. Flow log data is stored using Amazon CloudWatch Logs. After you`ve created a flow log, you can view and retrieve its data in Amazon CloudWatch Logs.
AWS CloudTrail is an AWS service that helps you enable governance, compliance, and operational and risk auditing of your AWS account. Actions taken by a user, role, or an AWS service are recorded as events in CloudTrail. Events include actions taken in the AWS Management Console, AWS Command Line Interface, and AWS SDKs and APIs.
Options A and C are invalid since CloudWatch Logs cannot capture traffic or API calls.
Option D is invalid because AWS Config cannot capture traffic.
For more information on VPC Flow logs, one can visit the below URL
https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/flow-logs.html
For more information on Cloudtrail, one can visit the below URL
https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html