exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 223 discussion

A solutions architect is designing a VPC with public and private subnets. The VPC and subnets use IPv4 CIDR blocks. There is one public subnet and one private subnet in each of three Availability Zones (AZs) for high availability. An internet gateway is used to provide internet access for the public subnets. The private subnets require access to the internet to allow Amazon EC2 instances to download software updates.
What should the solutions architect do to enable internet access for the private subnets?

  • A. Create three NAT gateways, one for each public subnet in each AZ. Create a private route table for each AZ that forwards non-VPC traffic to the NAT gateway in its AZ.
  • B. Create three NAT instances, one for each private subnet in each AZ. Create a private route table for each AZ that forwards non-VPC traffic to the NAT instance in its AZ.
  • C. Create a second internet gateway on one of the private subnets. Update the route table for the private subnets that forward non-VPC traffic to the private internet gateway.
  • D. Create an egress-only internet gateway on one of the public subnets. Update the route table for the private subnets that forward non-VPC traffic to the egress- only internet gateway.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
SlimeMould
Highly Voted 3 years, 7 months ago
The answer is A for me, but what "forwards non-VPC traffic" does mean, there is nothing about "non-VPC traffic"
upvoted 56 times
CloudK
3 years, 7 months ago
A is ok. I think non vpc means external traffic (update, patches, etc).
upvoted 13 times
...
mahdeo01
3 years, 6 months ago
Two things to remember regarding NAT Gateway : #1) It is always placed in Public Subnet #2 in the event of AZ failure the NAT gateway becomes unavailable and the resources within other Availability Zones loose internet access. To create a fault-tolerant architecture, make sure that your AWS NAT gateways are deployed in at least two Availability Zones (AZs) OR More...
upvoted 26 times
...
...
anpt
Highly Voted 3 years, 7 months ago
AAAAAAAAAAAAAAAAA
upvoted 21 times
tdt
3 years, 6 months ago
try to explain why u pick the answer rather than just type a word. F**k u
upvoted 17 times
kiruthiru
3 years, 5 months ago
:D.. actually he is the one who helps a lot while looking into discussions for review...AAAAAAAAAAA
upvoted 3 times
...
SirReadAlot
3 years, 6 months ago
Lol!! He is a legend.. he does have to explain himself!!
upvoted 8 times
induna
3 years, 5 months ago
True this
upvoted 2 times
...
...
TheBengiDog
2 years, 8 months ago
Says the guy who can't even write in English according to the appropriate grammar rules. (tdt)
upvoted 1 times
...
...
...
naveenagurjara
Most Recent 2 years, 10 months ago
Selected Answer: A
non-VPC means Internet bound (Non-local)...this is a way of English usage just to confuse exam takers...
upvoted 3 times
...
cen007
2 years, 10 months ago
Selected Answer: B
This is a grammar question.... I chose B. NAT instances FOR private subnet. We don't need NAT gateway FOR public subnet.
upvoted 2 times
imurilloh
2 years, 8 months ago
NAT gateways must be created in public subnets, so IMHO the answer is A
upvoted 1 times
...
...
sailarg
3 years ago
Selected Answer: A
If you choosed another answer not A, must study harder
upvoted 3 times
...
Asir83
3 years, 6 months ago
Hint: IPV4 = NAT Gateway IPV6 = Egress-only internet gateway go with option A
upvoted 12 times
Robert_B
3 years, 3 months ago
Thanks and this is correct, just to IPv6 mention add that when it is Egress-only internet gateway it only allows OUTBOUND traffic only, not inbound (so can't be used to get packages/updates from internet).
upvoted 1 times
...
...
tinyshare
3 years, 6 months ago
The dude made this question should improve his English. It should be "in the public subnet for the private subnet". Base on the "don't think too much" rule, I still choose A. Of course everything is "for the private subnet", it is implied.
upvoted 3 times
...
Navya_9
3 years, 6 months ago
B. As NAT Gateway can be used only on private subnets https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
upvoted 1 times
Cyyz
3 years, 6 months ago
Mate, you need to study a bit more, NAT GW's can only be placed in Pubic subnets, then create route table in private to go through NAT gateway for outside connection.
upvoted 9 times
Ankush_sh
3 years, 5 months ago
The language is not good in this question. Its true that "NAT gateways are always created in public subnets" , but its also true that " they are created for private subnets ". This makes things confusing...
upvoted 2 times
...
...
...
CKLOH
3 years, 6 months ago
Ans = A 1. NAT Gateways = connect Private Subnets to the Internet 2. NAT gateways = Highly available 3. NAT Gateway = a highly available AWS managed service that makes it easy to connect to the Internet from instances within a private subnet in an Amazon Virtual Private Cloud (Amazon VPC). Previously, you needed to launch a NAT instance to enable NAT for instances in a private subnet. 4. VPN NAT Gateways reside in Public Subnets > have to configure NAT Gateways in Public Subnet > then associate NAT Gateways in Private Subnet route table 5. Reference: https://aws.amazon.com/about-aws/whats-new/2018/03/introducing-amazon-vpc-nat-gateway-in-the-aws-govcloud-us-region/#:~:text=NAT%20Gateway%20is%20a%20highly,instances%20in%20a%20private%20subnet. https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-comparison.html
upvoted 4 times
...
cloudset
3 years, 6 months ago
B - feels like Amazon is testing for grammar skills rather than architecting skills :( Create three NAT (instances/gateways) in public subnet, one for each private subnet in each AZ
upvoted 6 times
swadeey
3 years, 5 months ago
Instance is customer created and maintained. Any answer in AWS unless a solid reason should always be an AWS service which is NAT Gateway not instance.
upvoted 1 times
...
...
jkwek
3 years, 6 months ago
The answer is A. This is a repeated question.
upvoted 1 times
...
developer_404
3 years, 6 months ago
Answer is B 'One "for" each public subnet' in Answer A is misleading. U create NAT Gateways "in" public subnet "for" private subnet. Answer B makes more sense, it says Create 3 Nat Instances "for" each private subnets. NAT gateway should be the answer, however the answer here is misleading for A, hence I choose B which suits more.
upvoted 2 times
...
syu31svc
3 years, 6 months ago
Answer is A NAT gateways over NAT instances anytime
upvoted 4 times
...
primanturin
3 years, 6 months ago
The answer is A First, NAT instances are not recommended by AWS anymore. Second, the solution must seek for HA: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-natcomparison.html - Availability NAT gateway: Highly available. NAT gateways in each Availability Zone are implemented with redundancy. Create a NAT gateway in each Availability Zone to ensure zone independent architecture. NAT instance: Use a script to manage failover between instances.
upvoted 1 times
...
KK_uniq
3 years, 6 months ago
A for sure
upvoted 1 times
...
Yogi
3 years, 6 months ago
Ans=A. Create three NAT gateways, one for each public subnet in each AZ. Create a private route table for each AZ that forwards non-VPC traffic to the NAT gateway in its AZ.
upvoted 1 times
Yogi
3 years, 6 months ago
FYI: NAT instances are old school
upvoted 2 times
...
...
AwsNewPeople
3 years, 6 months ago
Absolutely A, those who are saying it's B please read below, Internet traffic from the instances in the private subnet is routed to the NAT instance, which then communicates with the internet. Therefore, the NAT instance must have internet access. It must be in a public subnet (a subnet that has a route table with a route to the internet gateway), and it must have a public IP address or an Elastic IP address. All NAT ( be it Gateway/Instance) must set up in Public in order to connect to the internet, so B create NAT instance in private is WRONG. The only possible answer here is A
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago