QuestionQ43

VerifiedDesign Solutions for Organizational Complexity

A company has VPC Flow Logs enabled for its NAT gateway. The company observes Action = ACCEPT for inbound traffic from public IP address 198.51.100.2 that is destined for a private Amazon EC2 instance.

A solutions architect must determine whether this traffic is unsolicited inbound connectivity from the internet. The first two octets of the VPC CIDR block are 203.0.

Which set of steps should the solutions architect take to meet these requirements?

Explanation

VPC Flow Logs can be delivered to and queried in Amazon CloudWatch Logs, and each record contains source address, destination address, action, and byte-count fields. Filtering for source address 198.51.100.2 and destination addresses beginning with 203.0, then summing transferred bytes by source and destination across the NAT gateway and EC2 instance network interfaces, correlates the relevant inbound flow. AWS CloudTrail records API activity rather than VPC network-flow records.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!