A company is hosting a secure data processing application on Amazon EC2 instances in a private subnet (Subnet A: ) within a VPC (). To comply with strict security requirements, the instances must not have internet access. Instead, they must interact with AWS Systems Manager (SSM) using an Interface VPC Endpoint located in a dedicated endpoint subnet (Subnet B: ). Both subnets are associated with custom Network ACLs (NACLs) that currently deny all inbound and outbound traffic. The security groups associated with the EC2 instances and the VPC endpoint are already correctly configured to allow HTTPS traffic (TCP port ) between them. Which configuration must the solutions architect apply to the Network ACL of Subnet A to allow the EC2 instances to successfully establish connections to and communicate with the SSM Interface VPC Endpoint?
- An outbound rule allowing TCP port to destination , and an inbound rule allowing TCP ports - from source .Answer
- BAn outbound rule allowing TCP port to destination . No inbound rule is required because security groups are stateful and will automatically allow the return traffic.
- CAn outbound rule allowing TCP port to destination , and an inbound rule allowing TCP port from source .
- DAn inbound rule allowing TCP port from source , and an outbound rule allowing TCP ports - to destination .