An enterprise is designing a secure network architecture for a sensitive payment processing workload running on Amazon EC2 instances inside a dedicated private subnet. The workload needs to securely access Amazon DynamoDB for database operations and a third-party compliance API hosted on the public internet. The architecture must satisfy the following requirements:
1. The EC2 instances must not have a direct route to an Internet Gateway or have public IP addresses.
2. Access to DynamoDB must remain entirely within the AWS network and must not incur data processing or hourly usage fees.
3. Network access control must be enforced statelessly at the subnet boundary and statefully at the instance level.
Which combination of steps should the Solutions Architect take to meet these requirements? (Select TWO.)
- Create a Gateway VPC Endpoint for Amazon DynamoDB and associate it with the private subnet's route table.Cevap
- Configure the private subnet's Network ACL with an outbound rule allowing TCP port to the NAT Gateway's subnet, and an inbound rule allowing TCP ports - from the NAT Gateway's subnet.Cevap
- CCreate an Interface VPC Endpoint (AWS PrivateLink) for Amazon DynamoDB and configure the private subnet's route table to route DynamoDB traffic through the endpoint.
- DConfigure the EC2 instances' Security Group with an inbound rule allowing TCP ports - from the NAT Gateway subnet to permit return traffic from the third-party API.
- EDeploy an AWS WAF web ACL and associate it directly with the private subnet's Network ACL to inspect Layer 7 payloads sent to the third-party compliance API.