Question

Difficulty: EasyNetwork and Infrastructure Security

When configuring security controls within an Amazon Virtual Private Cloud (VPC), understanding the behavior of instance-level and subnet-level firewalls is critical. Which two of the following statements correctly describe the operational characteristics of these network security resources?

  1. Instance-level firewalls (Security Groups) are stateful, meaning that return traffic is automatically allowed regardless of outbound rules.Answer
  2. Subnet-level firewalls (Network Access Control Lists) are stateless, meaning that return traffic must be explicitly allowed by an outbound rule.Answer
  3. C
    Instance-level firewalls (Security Groups) are stateless, requiring separate rules for inbound and outbound traffic.
  4. D
    Subnet-level firewalls (Network Access Control Lists) operate at the instance level and automatically allow all return traffic.
  5. E
    Amazon Inspector is used as a real-time firewall to block malicious traffic at the subnet boundary.

Answer

The correct statements are that Security Groups (instance-level firewalls) are stateful and Network ACLs (subnet-level firewalls) are stateless.
Instance-level firewalls (Security Groups) are stateful, which means they automatically track connection state and allow return traffic without needing an explicit outbound rule. In contrast, subnet-level firewalls (Network ACLs) are stateless, which means they do not track connection state and require explicit rules for both inbound and outbound traffic.

Step-by-Step Solution

1
Evaluate the behavior of instance-level firewalls (Security Groups).
Security Groups operate at the instance level and are stateful, automatically allowing return traffic.
This establishes that inbound-to-outbound or outbound-to-inbound return traffic does not require symmetric rule configurations.
2
Evaluate the behavior of subnet-level firewalls (Network ACLs).
Network ACLs operate at the subnet level and are stateless, evaluating traffic in each direction independently.
This establishes that return traffic must be explicitly allowed by matching rules in the opposite direction.

Key Concept

Stateful vs. Stateless Firewalls in AWS VPC (Security Groups and Network ACLs)
Rate this question