Question

Difficulty: EasyAWS Network Services

An administrator wants to secure a web application hosted on Amazon EC2 instances. They need to implement a stateful firewall that controls traffic at the individual instance level, and a stateless firewall that controls traffic at the subnet boundary. Which two AWS features should the administrator configure to meet these requirements?

  1. Security groupsAnswer
  2. Network Access Control Lists (NACLs)Answer
  3. C
    VPC Peering connections
  4. D
    VPC route tables
  5. E
    AWS Identity and Access Management (IAM) roles

Answer

Security groups and Network Access Control Lists (NACLs)
Security groups act as a stateful firewall controlling traffic at the instance level, while Network Access Control Lists (NACLs) function as a stateless firewall operating at the boundary of the subnet. Together, they provide layered security for resources inside a VPC.

Step-by-Step Solution

1
Identify the requirement for instance-level traffic filtering.
Security groups operate at the instance level and act as a stateful firewall.
This satisfies the requirement for a stateful firewall at the individual instance level.
2
Identify the requirement for subnet-level traffic filtering.
Network Access Control Lists (NACLs) operate at the subnet level and act as a stateless firewall.
This satisfies the requirement for a stateless firewall at the subnet boundary.

Key Concept

AWS network security layers separating instance-level (Security Groups) and subnet-level (Network ACLs) controls.
Rate this question