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

A company has an Amazon EC2 instance running on a private subnet that needs to access a public website to download patches and updates. The company does not want external websites to see the EC2 instance IP address or initiate connections to it.
How can a solutions architect achieve this objective?

  • A. Create a site-to-site VPN connection between the private subnet and the network in which the public site is deployed.
  • B. Create a NAT gateway in a public subnet. Route outbound traffic from the private subnet through the NAT gateway.
  • C. Create a network ACL for the private subnet where the EC2 instance deployed only allows access from the IP address range of the public website.
  • D. Create a security group that only allows connections from the IP address range of the public website. Attach the security group to the EC2 instance.
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
Paitan
Highly Voted 3 years, 8 months ago
Typical requirement for Nat Gateway. So answer is B.
upvoted 39 times
aguy9
3 years, 8 months ago
I agree, answer is B
upvoted 3 times
...
...
josebormo
Highly Voted 3 years, 8 months ago
I agree it is B
upvoted 12 times
...
bora4motion
Most Recent 2 years, 10 months ago
Selected Answer: B
Correct is B
upvoted 1 times
...
gondohwe
3 years, 5 months ago
Nat Gateway makes senses coz your instances in the private subnet will have a route pointing to it thus allowing them to access the internet for new patches whatever but bear in mind that Nat gateway doesnt allow connections to be initiated from outside to the instances so answer B is suitable looking from a security perspective
upvoted 1 times
...
muhsin
3 years, 5 months ago
to connect to the internet yes we need to have NAT Gateway. But the question is not about it. It is about how we can avoid internet traffic coming to EC2 other than update/path etc. so the answer is D.
upvoted 1 times
...
georgebab
3 years, 7 months ago
Answer is B ---> A NAT gateway is a Network Address Translation (NAT) service. You can use a NAT gateway so that instances in a private subnet can connect to services outside your VPC but external services cannot initiate a connection with those instances.
upvoted 5 times
...
simran_kaur_simmi
3 years, 7 months ago
B for sure
upvoted 1 times
...
nickname20212021
3 years, 7 months ago
Passed the exam on 26th June, this question was on my test.
upvoted 3 times
...
MDNowfal
3 years, 7 months ago
BBBBBBBBBBBBBBBBB
upvoted 2 times
...
jkwek
3 years, 7 months ago
Answer is B. https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
upvoted 2 times
...
jkwek
3 years, 7 months ago
https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
upvoted 1 times
...
syu31svc
3 years, 7 months ago
"The company does not want external websites to see the EC2 instance IP address or initiate connections to it" B is the answer
upvoted 2 times
...
KK_uniq
3 years, 7 months ago
B for sure
upvoted 1 times
...
mryala
3 years, 7 months ago
it's B
upvoted 1 times
...
Ankitrathi85
3 years, 7 months ago
B right
upvoted 1 times
...
AwsNewPeople
3 years, 7 months ago
BBBBBBBB
upvoted 1 times
...
arunchu
3 years, 7 months ago
B is the answer
upvoted 1 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 ...