Which AWS service or feature provides log information of the inbound and outbound traffic on network interfaces in a VPC?
Amazon CloudWatch Logs
AWS CloudTrail
VPC Flow Logs
AWS Identity and Access Management (IAM)
Explanations:
Amazon CloudWatch Logs is a monitoring service that collects and stores logs and metrics, but it does not specifically provide log information for inbound and outbound traffic on network interfaces in a VPC. Instead, it can be used to visualize and analyze logs generated by other services.
AWS CloudTrail is a service that logs AWS API calls and account activity, but it does not provide detailed log information about network traffic on network interfaces within a VPC. Its primary purpose is to enable governance, compliance, and operational and risk auditing of your AWS account.
VPC Flow Logs is the AWS service that captures information about the IP traffic going to and from network interfaces in a VPC. This feature enables users to monitor traffic patterns and troubleshoot network connectivity issues.
AWS Identity and Access Management (IAM) is focused on managing user access and permissions to AWS resources. It does not provide any logging of network traffic, making it irrelevant to the question about monitoring inbound and outbound traffic on VPC network interfaces.