exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 202 discussion

An organization is setting up a highly scalable application using Elastic Beanstalk.
They are using Elastic Load Balancing (ELB) as well as a Virtual Private Cloud (VPC) with public and private subnets. They have the following requirements:
- All the EC2 instances should have a private IP
- All the EC2 instances should receive data via the ELB's.
Which of these will not be needed in this setup?

  • A. Launch the EC2 instances with only the public subnet.
  • B. Create routing rules which will route all inbound traffic from ELB to the EC2 instances.
  • C. Configure ELB and NAT as a part of the public subnet only.
  • D. Create routing rules which will route all outbound traffic from the EC2 instances through NAT.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
The Amazon Virtual Private Cloud (Amazon VPC) allows the user to define a virtual networking environment in a private, isolated section of the Amazon Web
Services (AWS) cloud. The user has complete control over the virtual networking environment. If the organization wants the Amazon EC2 instances to have a private IP address, he should create a public and private subnet for VPC in each Availability Zone (this is an AWS Elastic Beanstalk requirement). The organization should add their public resources, such as ELB and NAT to the public subnet, and AWC Elastic Beanstalk will assign them unique elastic IP addresses (a static, public IP address). The organization should launch Amazon EC2 instances in a private subnet so that AWS Elastic Beanstalk assigns them non-routable private IP addresses. Now the organization should configure route tables with the following rules:
✑ route all inbound traffic from ELB to EC2 instances
✑ route all outbound traffic from EC2 instances through NAT
Reference:
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo-vpc.html

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
AmazonAu
Highly Voted 3 years, 7 months ago
A: EC2 in private subnet?
upvoted 8 times
...
amministrazione
Most Recent 8 months, 3 weeks ago
A. Launch the EC2 instances with only the public subnet.
upvoted 1 times
...
SkyZeroZx
1 year, 10 months ago
Selected Answer: A
The option that will not be needed in this setup is: A. Launch the EC2 instances with only the public subnet. In a setup with Elastic Beanstalk, Elastic Load Balancing (ELB), and a Virtual Private Cloud (VPC) with public and private subnets, the EC2 instances should be launched in the private subnet. This is because the organization's requirement states that all the EC2 instances should have a private IP. Therefore, option A is not needed as it suggests launching the EC2 instances with only the public subnet, which would not meet the requirement of having private IP addresses for the instances.
upvoted 1 times
...
astalavista1
2 years, 7 months ago
Selected Answer: A
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo-vpc.html
upvoted 1 times
...
hilft
2 years, 9 months ago
A. Why only in the public subnet? You can still receive in private with NAT in public.
upvoted 2 times
...
ryu10_09
3 years, 5 months ago
the question is very tricky and annoying. it took me time. it asked: "which of these will UNecessary" -> so A. the other options are necessary more or less
upvoted 1 times
...
01037
3 years, 6 months ago
Yes it is A
upvoted 2 times
...
blackgamer
3 years, 6 months ago
Likely the question is wrong, B should be answer. But A answer seems to have typo.
upvoted 1 times
...
anandbabu
3 years, 6 months ago
D is correct
upvoted 1 times
...
palomino
3 years, 7 months ago
So am I the only one that is picking up that answer A says 'public subnet' not private subnet? Which is wrong! A. Launch the EC2 instances with only the public subnet.
upvoted 3 times
ghsotq
3 years, 7 months ago
Please read the question again Which of these will """""NOT""""" be needed in this setup? Answer is A
upvoted 7 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