ANS-C01 · Question #24
A company has deployed Amazon EC2 instances in private subnets in a VPC. The EC2 instances must initiate any requests that leave the VPC, including requests to the company's on- premises data center…
The correct answer is C. Deploy a NAT gateway into a private subnet in the VPC where the EC2 instances are deployed. https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
Question
A company has deployed Amazon EC2 instances in private subnets in a VPC. The EC2 instances must initiate any requests that leave the VPC, including requests to the company's on- premises data center over an AWS Direct Connect connection. No resources outside the VPC can be allowed to open communications directly to the EC2 instances. The on-premises data center's customer gateway is configured with a stateful firewall device that filters for incoming and outgoing requests to and from multiple VPCs. In addition, the company wants to use a single IP match rule to allow all the communications from the EC2 instances to its data center from a single IP address. Which solution will meet these requirements with the LEAST amount of operational overhead?
Options
- ACreate a VPN connection over the Direct Connect connection by using the on-premises firewall.
- BConfigure the on-premises firewall to filter all requests from the on-premises network to the EC2
- CDeploy a NAT gateway into a private subnet in the VPC where the EC2 instances are deployed.
- DDeploy a NAT instance into a private subnet in the VPC where the EC2 instances are deployed.
How the community answered
(36 responses)- A19% (7)
- B8% (3)
- C61% (22)
- D11% (4)
Explanation
https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
Topics
Community Discussion
No community discussion yet for this question.