Security and Compliance

A security analyst needs records of accepted and rejected IP traffic for an Amazon EC2 instance's network interface. Which logging feature should the analyst enable?

Show the answer

Correct answerC. Amazon VPC Flow Logs

AWhy not this: CloudTrail records account activity and API calls rather than accepted and rejected network traffic flows.

BWhy not this: S3 server access logs describe requests to an S3 bucket, not traffic at an EC2 network interface.

CWhy this is right: VPC Flow Logs record network flow metadata, including ACCEPT or REJECT actions, for network interfaces.

DWhy not this: Resolver query logs record DNS queries and responses rather than general IP traffic acceptance or rejection.

VPC Flow Logs capture metadata about IP traffic to and from network interfaces, including whether traffic was accepted or rejected. CloudTrail records AWS account activity and API calls, not network traffic flows.