A company is hosting a financial transaction processing application on Amazon EC2 instances in a private subnet (CIDR block ) within a VPC. The instances must meet the following network connectivity and security requirements:
1. Securely access Amazon S3 buckets to store transaction logs without traversing the public internet and without incurring data processing fees.
2. Establish outbound HTTPS connections to an external credit score API (destination IP address on TCP port ) while blocking all other outbound internet traffic.
3. Allow the return traffic from the external credit score API back to the EC2 instances.
A solutions architect has deployed a NAT gateway in a public subnet to handle internet egress. Which combination of network configuration steps must the solutions architect implement to satisfy these requirements? (Select TWO.)
- Create a Gateway VPC Endpoint for Amazon S3 and associate it with the route table of the private subnet.Cevap
- BConfigure the private subnet's Network ACL with an outbound rule allowing TCP port to . Do not configure an inbound rule for the return traffic, as Network ACLs are stateful and will automatically permit the response traffic.
- CRoute all outbound traffic, including requests to Amazon S3, through the NAT gateway, and configure an Amazon S3 Interface VPC Endpoint in the public subnet to eliminate data processing fees.
- Configure the private subnet's Network ACL with an outbound rule allowing TCP port to , and an inbound rule allowing TCP ports from .Cevap
- EConfigure the security group attached to the EC2 instances with an inbound rule allowing TCP ports from to permit return traffic from the external credit score API.