Soru

Zorluk: KolayAWS Network Services

A company is setting up a secure network infrastructure inside Amazon Virtual Private Cloud (Amazon VPC). To protect their resources, they want to understand the key differences between security groups and network access control lists (network ACLs). Which two statements correctly describe the characteristics of these network security features?

  1. Security groups are stateful, meaning return traffic is automatically allowed.Cevap
  2. Network ACLs are stateless, meaning return traffic must be explicitly allowed by rules.Cevap
  3. C
    Security groups are stateless and operate at the subnet level.
  4. D
    Network ACLs are stateful and operate at the instance level.
  5. E
    VPC Peering functions as a centralized gateway to manage traffic flow between individual subnets.

Cevap

Security groups are stateful, meaning return traffic is automatically allowed; and network ACLs are stateless, meaning return traffic must be explicitly allowed by rules.
Security groups are stateful, meaning that if you send an inbound request, the outbound response is automatically allowed. Conversely, network ACLs are stateless, requiring you to configure explicit inbound and outbound rules for traffic to flow in both directions.

Adım Adım Çözüm

1
Differentiate between the resource boundaries of the two features.
Security groups act as a firewall for Amazon EC2 instances (at the instance/ENI level), while network ACLs act as a firewall at the subnet boundary.
This helps eliminate options that incorrectly map the security boundary.
2
Determine how state is maintained for inbound and outbound traffic.
Security groups are stateful (automatically allowing return traffic), whereas network ACLs are stateless (requiring explicit rules for both directions).
This identifies the correct operational characteristics of both features.

Anahtar Kavram

VPC Security: Security Groups vs Network ACLs
Tahmini Süre:45s
Bu soruyu puanla