A company has a single Virtual Private Cloud (VPC) containing a public subnet and a private subnet. The company needs to design a security and routing strategy that satisfies the following requirements:
1. Traffic from a list of specific, known malicious public IP addresses must be blocked from entering the public subnet.
2. Web servers in the public subnet must be allowed to initiate connections to database instances in the private subnet on port 3306, while all other inbound traffic to the database instances is restricted.
Which of the following configurations should the network administrator implement to meet these requirements? (Select TWO.)
- Create a Network Access Control List (NACL) associated with the public subnet with inbound rules that explicitly deny traffic from the malicious IP addresses.Cevap
- BCreate a Security Group for the web servers with inbound rules that explicitly deny traffic from the malicious IP addresses.
- Create a Security Group for the database instances that allows inbound traffic on port 3306 from the Security Group of the web servers.Cevap
- DCreate a Network Access Control List (NACL) associated with the public subnet that allows inbound traffic on port 3306 and relies on its stateful nature to automatically allow return database traffic.
- ESet up a VPC Peering connection between the public subnet and the private subnet to isolate and route the database traffic.
Cevap
Implementing a Network Access Control List (NACL) to explicitly deny the malicious IP addresses at the public subnet level, and configuring a Security Group for the database instances to allow inbound traffic on port 3306 from the web servers' Security Group.
To block specific malicious IP addresses before they reach any resources, a Network Access Control List (NACL) must be configured with explicit DENY rules at the subnet boundary. To secure database instances, a Security Group must be created that allows inbound traffic on port 3306 from the web servers' Security Group. Security Groups are stateful and apply to instances, while NACLs are stateless and apply to subnets.
Adım Adım Çözüm
Anahtar Kavram
The primary differences between Security Groups (stateful, instance-level, ALLOW-only) and Network ACLs (stateless, subnet-level, ALLOW/DENY), and basic VPC subnet routing constraints.
Tahmini Süre:2m 0s