Which AWS service or tool can be used to capture information about inbound and outbound traffic in an Amazon VPC?
VPC Flow Logs
Amazon Inspector
VPC endpoint services
NAT gateway
Explanations:
VPC Flow Logs capture information about the IP traffic going to and from network interfaces in a VPC, allowing for detailed monitoring and analysis of traffic patterns.
Amazon Inspector is a security assessment service that helps improve the security and compliance of applications deployed on AWS, but it does not capture network traffic data.
VPC endpoint services facilitate private connections between VPCs and AWS services, but they do not provide logging or traffic capture capabilities.
A NAT gateway allows instances in a private subnet to connect to the internet, but it does not provide traffic capture or logging features for inbound and outbound traffic.