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 is specifically designed to capture information about inbound and outbound traffic in an Amazon VPC, providing visibility into network traffic.
Amazon Inspector is a security assessment service that helps improve the security and compliance of applications deployed on AWS but does not capture traffic data.
VPC endpoint services allow private connectivity to services but do not log or capture traffic information.
A NAT gateway enables instances in a private subnet to connect to the internet, but it does not provide traffic logging capabilities on its own.