AWS Certified Solutions Architect – Professional — Question 63
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?
Answer options
- 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.
Correct answer: A
Explanation
The correct answer is A because launching EC2 instances in a public subnet contradicts the requirement for them to have private IPs. Options B, C, and D are necessary for proper routing and traffic management between the ELB and the EC2 instances within a VPC.