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 281 discussion

A company has created a multi-tier application for its ecommerce website. The website uses an Application Load Balancer that resides in the public subnets, a web tier in the public subnets, and a MySQL cluster hosted on Amazon EC2 instances in the private subnets. The MySQL database needs to retrieve product catalog and pricing information that is hosted on the internet by a third-party provider. A solutions architect must devise a strategy that maximizes security without increasing operational overhead.
What should the solutions architect do to meet these requirements?

  • A. Deploy a NAT instance in the VPC. Route all the internet-based traffic through the NAT instance.
  • B. Deploy a NAT gateway in the public subnets. Modify the private subnet route table to direct all internet-bound traffic to the NAT gateway.
  • C. Configure an internet gateway and attach it to the VPC. Modify the private subnet route table to direct internet-bound traffic to the internet gateway.
  • D. Configure a virtual private gateway and attach it to the VPC. Modify the private subnet route table to direct internet-bound traffic to the virtual private gateway.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
[Removed]
Highly Voted 3 years, 9 months ago
B A NAT Gateway does something similar, but with two main differences: It allows resources in a private subnet to access the internet (think yum updates, external database connections, wget calls, OS patch, etc) It only works one way. The internet at large cannot get through your NAT to your private resources unless you explicitly allow it.
upvoted 65 times
noahsark
3 years, 9 months ago
Answer B diagram here: https://docs.aws.amazon.com/vpc/latest/userguide/images/nat-gateway-diagram.png
upvoted 9 times
...
...
srikanthlumen
Most Recent 1 year, 5 months ago
Selected Answer: B
Many of the answers in this site seem to be wrong and the ones voted by users seem to be right. What is the source of answer to this site ? Already the questions are tricky, and placing a wrong answer as the answer, costs our success in the exam.
upvoted 1 times
...
BATSIE
2 years, 2 months ago
To maximize security and minimize operational overhead, the solutions architect should deploy a NAT gateway in the public subnets and modify the private subnet route table to direct all internet-bound traffic to the NAT gateway. This approach allows the MySQL cluster to securely retrieve product catalog and pricing information from the third-party provider without exposing the private subnet to the internet. The NAT gateway acts as a transparent proxy for the MySQL cluster and enables traffic to flow in both directions while blocking unsolicited traffic from the internet. C is incorrect because configuring an internet gateway and attaching it to the VPC exposes the private subnet to the internet, which is unnecessary and increases the risk of unauthorized access
upvoted 2 times
...
lbertolini
2 years, 11 months ago
Selected Answer: B
Nat gateway is less expensive than Nat instance, and less work. C wrong because you must not allow internet traffic in the private subnet.
upvoted 1 times
...
awilson61363
2 years, 11 months ago
It can't be "C" . You just threw all your safeguards for security out the window
upvoted 2 times
...
Iliyan_Azure
2 years, 11 months ago
Selected Answer: A
A solutions architect's objective is to develop a plan that optimizes security without raising operating costs. A : It does not cause availability risks or bandwidth constraints on your network traffic. There's no additional charge for having an internet gateway in your account. https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html
upvoted 1 times
Iliyan_Azure
2 years, 11 months ago
I mean C, my bad .
upvoted 1 times
Sinaneos
2 years, 9 months ago
C throws all your security in the dumpster. You never wanna have an internet gateway in your private subnets. You need either a NAT instance (will raise the operational cost), or a NAT gateway in the PUBLIC subnet, which is the answer (B)
upvoted 1 times
...
...
...
Aniketh
3 years ago
Selected Answer: B
i would go with B
upvoted 1 times
...
Angrydove
3 years ago
NAT gateway can't satisfy the condition. "~ without raising operating costs" I know B is the best answer among others. "Bastion host" must've been one of A,B,C,D.
upvoted 2 times
...
kpallivishal
3 years, 1 month ago
B looks great
upvoted 1 times
...
njhari
3 years, 4 months ago
i see Kenisworld666 said BBBB... I love the way it is stressed. Why would the website with so many references have questions with arguably wrong answer. I go with BBBBBBB too
upvoted 1 times
...
uos204
3 years, 4 months ago
Selected Answer: B
NAT instance is the best way to get updates or stuff like that from the Internet wt doing the priv-subnet as a public subnet. This happens with option C, where it shouldn't open the priv-sub bc it will be a pub-subnet
upvoted 1 times
...
osel
3 years, 5 months ago
Selected Answer: B
I dun understand why the suggested answer is still C for if a "private subnet" route table is to modify with the default route to the IGW, why you still call it a "private subnet", haha. Private Subnet is truly private forbidding any request traffic to be initiated from the public Internet. The Answer must be B to use NAT GW bcos the case does not ask for bastion host function.
upvoted 1 times
...
Kenisworld666
3 years, 8 months ago
BBBBBBBBBBBBBBBBBBBBB
upvoted 3 times
...
banjojoe
3 years, 8 months ago
i would say (b) but NAT Gateways cost money and the question states "without increasing operational overhead" so..
upvoted 2 times
banjojoe
3 years, 8 months ago
i misread "without increasing operational overhead" as "without increasing operational expenses" so ignore the last part
upvoted 3 times
GOVNOR
3 years, 8 months ago
Seem to mean the same thing though
upvoted 1 times
...
...
...
Vikta
3 years, 8 months ago
It has to be B
upvoted 3 times
...
Cotter
3 years, 8 months ago
BBBBBBBBBBBBBBBBBBBBBBBBBBBBB
upvoted 3 times
...
SilNilanjan
3 years, 8 months ago
Definitely B - NAT Gateway. Refer to this if you are confused why it is in the public subnet - https://serverfault.com/questions/854475/aws-nat-gateway-in-public-subnet-why
upvoted 3 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 ...