A SysOps Administrator is configuring network security for a two-tier application. Amazon EC2 instances in the application subnet must be able to initiate database connections to Amazon RDS DB instances in the database subnet on TCP port 1433. The database subnet's Network Access Control List (NACL) is currently configured with default deny rules.
Which two rules must be added to the database subnet's NACL to allow this communication? (Select TWO.)
- An inbound rule to allow TCP traffic from the application subnet IP range on destination port 1433Answer
- An outbound rule to allow TCP traffic to the application subnet IP range on destination ports 1024-65535Answer
- CAn outbound rule to allow TCP traffic to the application subnet IP range on destination port 1433 only
- DAn inbound rule to allow TCP traffic from the application subnet IP range on destination ports 1024-65535
- EAn outbound rule to the database security group to allow TCP traffic to the application subnet IP range on destination ports 1024-65535
Answer
An inbound rule to allow TCP traffic from the application subnet IP range on destination port 1433, and an outbound rule to allow TCP traffic to the application subnet IP range on destination ports 1024-65535.
The correct answers describe the stateless configuration required for a NACL. Specifically, an inbound rule must allow TCP traffic from the application subnet on destination port 1433 to accept the incoming connections, and an outbound rule must allow TCP traffic to the application subnet on the ephemeral port range (1024-65535) to allow response packets.
Step-by-Step Solution
Key Concept
Network Access Control Lists (NACLs) are stateless, requiring explicit rules for both inbound request traffic and outbound return traffic (which uses ephemeral ports).
Estimated Time:1m 0s