Soru

Zorluk: KolayVPC Network Security

A solutions architect is explaining basic VPC security concepts to a new team member. The team is configuring security groups and Network Access Control Lists (NACLs) to secure a standard two-tier web application. Which TWO statements correctly describe the behavior or scope of these security resources?

  1. Security groups are stateful, meaning return traffic is automatically allowed regardless of inbound rules.Cevap
  2. Network ACLs are stateless, meaning return traffic must be explicitly allowed by outbound rules.Cevap
  3. C
    Security groups operate at the subnet level and apply to all resources in that subnet automatically.
  4. D
    Network ACLs are stateful, so allowing inbound traffic automatically permits the corresponding outbound response.
  5. E
    Security groups can inspect HTTP request payloads to block common Layer 7 web exploits.

Cevap

Security groups are stateful, meaning return traffic is automatically allowed, and Network ACLs are stateless, meaning return traffic must be explicitly allowed.
The correct statements are that security groups are stateful and network ACLs are stateless. Security groups automatically allow return traffic for any established connection they permit. Conversely, network ACLs do not track session state, which means both inbound and outbound paths must have explicit rule coverage to allow communications.

Adım Adım Çözüm

1
Analyze the stateful behavior of Security Groups.
Confirm that Security Groups track connection state, allowing response traffic automatically.
This is a fundamental property of security groups in VPC network security.
2
Analyze the stateless behavior of Network ACLs.
Confirm that Network ACLs do not track connection state, requiring explicit inbound and outbound rules for a complete flow.
This contrasts with security groups and requires careful rule writing to prevent blocked return traffic.
3
Evaluate the incorrect options regarding scope and inspection capabilities.
Identify that security groups do not apply to subnets and cannot perform Layer 7 packet inspection.
Security groups operate at the network interface level (Layer 4), whereas Network ACLs operate at the subnet level, and Layer 7 protection is provided by AWS WAF.

Anahtar Kavram

Statefulness and boundaries of VPC Security Groups versus Network ACLs
Bu soruyu puanla