A SysOps Administrator is configuring connectivity between an application server hosted on an Amazon EC2 instance in Subnet A () and an Oracle database instance in Subnet B () inside the same VPC. The database listens on TCP port . Security groups are already configured correctly to allow this traffic.
Subnet A is associated with NACL-A, which has the following custom rules:
* Inbound: Allow TCP port from Subnet B ()
* Outbound: Allow TCP port to Subnet B ()
Subnet B is associated with NACL-B, which has the following custom rules:
* Inbound: Allow TCP port from Subnet A ()
* Outbound: Allow TCP port to Subnet A ()
All other traffic in both NACLs is denied. The application server is unable to connect to the database.
Which of the following actions should the SysOps Administrator take to resolve this connectivity issue?
- AAdd an outbound rule to NACL-A allowing outbound TCP traffic on ports to Subnet B, and add an inbound rule to NACL-B allowing inbound TCP traffic on ports from Subnet A.
- BNo changes to the NACLs are required because Security Groups are stateful and will automatically allow the return traffic.
- Add an inbound rule to NACL-A allowing inbound TCP traffic on ports from Subnet B, and add an outbound rule to NACL-B allowing outbound TCP traffic on ports to Subnet A.Answer
- DAdd an inbound rule to NACL-B allowing inbound TCP traffic on ports from Subnet A, and add an outbound rule to NACL-A allowing outbound TCP traffic on ports to Subnet B.