SOA-C02 Exam QuestionsBrowse all questions from this exam

SOA-C02 Exam - Question 137


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?

Show Answer
Correct Answer: A

To provide EC2 instances in the private subnet with access to the internet, you need to create a NAT gateway in the public subnet. This is because a NAT gateway needs to be in a public subnet where it can have a public IP address for internet connectivity. After creating the NAT gateway, you must then update the route table of the private subnet to route internet-bound traffic to the NAT gateway. This setup allows the instances in the private subnet to use the NAT gateway to reach the internet while preserving their private IP addresses.

Discussion

6 comments
Sign in to comment
Liongeek
Nov 17, 2022

Ans: A

jiparkOption: A
Aug 14, 2023

NAT gateway should place on public subnet. source is on private subnet. connect from private to NAT gateway.

michaldavidOption: A
Dec 12, 2022

aaaaaa

Tony183Option: A
Jul 19, 2023

A is correct

strovertzOption: A
Nov 5, 2023

ANS is A

10cc6baOption: A
Jul 12, 2024

A only as answer