A financial auditing firm is deploying a reporting engine on Amazon EC2 instances in a private subnet () within a VPC. The reporting engine must access compliance data stored in Amazon S3 and write audit results to Amazon DynamoDB. Additionally, the reporting engine must perform outbound HTTPS requests (port ) to an external regulatory API at `api.compliance-registry.org` to validate audit certificates. Company security policy mandates that all AWS service traffic must not traverse the public internet or NAT gateways, and data transfer costs must be minimized. Outbound internet egress must be strictly restricted to the regulatory API domain, and all other outbound traffic must be denied.
Which combination of actions should a solutions architect recommend to meet these requirements? (Select TWO.)
- Create Gateway VPC endpoints for Amazon S3 and Amazon DynamoDB, and associate them with the route table of the private subnet.Answer
- Route outbound internet traffic from the private subnet through an AWS Network Firewall deployed in a public subnet, and configure a stateful rule group with a domain list containing `api.compliance-registry.org`.Answer
- CConfigure the outbound security group of the EC2 instances to allow HTTPS traffic (port ) targeting the destination `api.compliance-registry.org`.
- DCreate Interface VPC endpoints for Amazon S3 and Amazon DynamoDB in the private subnet, and update the private subnet's route table to route traffic through these endpoints.
- EConfigure the private subnet's outbound Network ACL to allow port traffic to the domain `api.compliance-registry.org` and deny all other outbound traffic.