A company is deploying a secure processing application on Amazon EC2 instances in a private subnet (Subnet A: ). The EC2 instances must receive HTTPS requests on port from an internal Application Load Balancer (ALB) located in another private subnet (Subnet B: ). Additionally, the EC2 instances must securely retrieve configuration files from an Amazon S3 bucket. The company's security policy mandates that Subnet A must use a custom Network ACL (NACL) configured with a default-deny posture to block all unspecified traffic, and no traffic is allowed to transit the internet. Currently, a Gateway VPC Endpoint is used for Amazon S3, but the EC2 instances cannot connect to S3, and the ALB health checks are failing.
Which TWO actions should a solutions architect take to resolve these connectivity issues while complying with the security policy? (Select TWO.)
- Configure the Network ACL of Subnet A to allow inbound traffic from the ALB subnet () on port , and allow outbound traffic to the ALB subnet () on ephemeral ports ().Answer
- Replace the S3 Gateway VPC Endpoint with an Interface VPC Endpoint for Amazon S3, and configure the Network ACL of Subnet A to allow outbound traffic to the private IP addresses of the interface endpoint on port , and inbound traffic from those private IP addresses on ephemeral ports ().Answer
- CConfigure the Network ACL of Subnet A to allow inbound traffic from the ALB subnet () on port , and rely on the stateful behavior of the EC2 Security Groups to automatically permit the outbound return traffic.
- DModify the Network ACL of Subnet A to allow outbound traffic on port to the Amazon S3 prefix list (pl-xxxxxx) and allow inbound traffic from the prefix list on ephemeral ports ().
- EConfigure the Network ACL of Subnet A to allow outbound traffic to the Amazon S3 Gateway Endpoint public IP addresses on port , and rely on the default rule of the Network ACL to allow the inbound return traffic.