An application server in a custom VPC is deployed in Subnet App (CIDR: ). It is configured to send log data via TCP to a self-managed log collector instance in Subnet Service (CIDR: ) on port . The security group for the log collector allows inbound TCP port traffic from Subnet App. The security group for the application server allows all outbound traffic. The Network Access Control Lists (NACLs) are configured as follows:
- Subnet App NACL:
- Inbound: Allow all traffic
- Outbound: Allow TCP port to Subnet Service ()
- Subnet Service NACL:
- Inbound: Allow TCP port from Subnet App ()
- Outbound: Allow TCP port to Subnet App ()
The application server cannot successfully establish a connection to the log collector. Which configuration change is required to resolve this connectivity issue?
- AModify the Network ACL of Subnet Service to allow outbound TCP traffic to Subnet App () on port .
- BDo not make any changes to the Network ACLs because the security groups are stateful and will automatically allow the return traffic.
- Add a rule to the Network ACL of Subnet Service to allow outbound TCP traffic to Subnet App () on ports .Cevap
- DModify the security group of the log collector instance to allow outbound TCP traffic to Subnet App () on ports .