A company is reviewing the security posture of a database instance hosted within a private subnet of an Amazon Virtual Private Cloud (Amazon VPC). The database must only accept incoming queries from a specific application server located in a public subnet. To enforce defense-in-depth, the network security team wants to implement access controls at both the individual resource level and the boundary of the subnet. Which configuration of AWS network security features meets these requirements?
- A stateful Security Group associated with the database instance to allow inbound traffic from the application server, and a stateless Network ACL associated with the private subnet to control traffic entering and leaving the subnet boundary.Cevap
- BA stateless Security Group associated with the database instance to allow inbound traffic from the application server, and a stateful Network ACL associated with the private subnet to control traffic entering and leaving the subnet boundary.
- CA stateful Security Group associated with the private subnet to allow inbound traffic from the application server, and a stateless Network ACL associated with the database instance to control traffic at the resource level.
- DA VPC Peering connection established between the public and private subnets to isolate the network path, and a stateful Security Group associated with the database instance.
Cevap
A stateful Security Group associated with the database instance to allow inbound traffic from the application server, and a stateless Network ACL associated with the private subnet to control traffic entering and leaving the subnet boundary.
The correct configuration applies a stateful Security Group to the database instance to control traffic at the resource level, and a stateless Network ACL to the private subnet to control traffic at the subnet boundary. Security Groups automatically allow return traffic for approved requests, whereas Network ACLs require explicit inbound and outbound rules.
Adım Adım Çözüm
Anahtar Kavram
VPC Network Security: Security Groups vs Network ACLs
Tahmini Süre:2m 0s