Networking and Content Delivery

Which VPC control provides stateful traffic filtering for an EC2 instance's network interface?

Show the answer

Correct answerB. A security group

AWhy not this: A network ACL applies stateless allow and deny rules at the subnet boundary.

BWhy this is right: A security group filters traffic for associated network interfaces and tracks allowed connections.

CWhy not this: A route table selects traffic destinations and targets rather than providing stateful filtering.

DWhy not this: An internet gateway enables internet connectivity rather than providing configurable stateful traffic filtering.

A security group provides stateful filtering for associated network interfaces, automatically permitting response traffic for allowed connections. A network ACL filters traffic at the subnet boundary and is stateless.