Amazon
SOA-C02 · Question #65
A SysOps administrator has created a VPC that contains a public subnet and a private subnet. Amazon EC2 instances that were launched in the private subnet cannot access the internet. The default…
The correct answer is A. Create a NAT gateway in the public subnet. https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
Submitted by yasin.bd· Mar 30, 2026Networking and Content Delivery
Question
A SysOps administrator has created a VPC that contains a public subnet and a private subnet. Amazon EC2 instances that were launched in the private subnet cannot access the internet. The default network ACL is active on all subnets in the VPC, and all security groups allow all outbound traffic:
Which solution will provide the EC2 instances in the private subnet with access to the internet?
Options
- ACreate a NAT gateway in the public subnet.
- BCreate a NAT gateway in the public subnet.
- CCreate a NAT gateway in the private subnet.
- DCreate a NAT gateway in the private subnet.
How the community answered
(20 responses)- A80% (16)
- B5% (1)
- C10% (2)
- D5% (1)
Explanation
https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
Topics
#NAT gateway#private subnet#VPC#internet access
Community Discussion
No community discussion yet for this question.