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 for log data but does not specifically provide log information for network traffic in a VPC. It is used for collecting and monitoring logs from various AWS services and applications.
AWS CloudTrail is primarily used for logging and monitoring account activity across AWS infrastructure by tracking API calls. It does not capture network traffic details such as inbound and outbound traffic on network interfaces in a VPC.
VPC Flow Logs is the correct service for capturing information about the IP traffic going to and from network interfaces in a VPC. It logs details such as source and destination IP addresses, ports, protocols, and the number of bytes transferred, making it essential for network monitoring and troubleshooting.
AWS Identity and Access Management (IAM) is a service that helps manage access to AWS resources. It does not provide logging of network traffic or information related to inbound and outbound traffic on network interfaces in a VPC.