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

An organization is planning to create a secure scalable application with AWS VPC and ELB. The organization has two instances already running and each instance has an ENI attached to it in addition to a primary network interface. The primary network interface and additional ENI both have an elastic IP attached to it.
If those instances are registered with ELB and the organization wants ELB to send data to a particular EIP of the instance, how can they achieve this?

  • A. The organization should ensure that the IP which is required to receive the ELB traffic is attached to a primary network interface.
  • B. It is not possible to attach an instance with two ENIs with ELB as it will give an IP conflict error.
  • C. The organization should ensure that the IP which is required to receive the ELB traffic is attached to an additional ENI.
  • D. It is not possible to send data to a particular IP as ELB will send to any one EIP.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
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. Within this virtual private cloud, the user can launch AWS resources, such as an ELB, and EC2 instances. There are two ELBs available with VPC: internet facing and internal (private) ELB. For the internet facing ELB it is required that the
ELB should be in a public subnet. When the user registers a multi-homed instance (an instance that has an Elastic Network Interface (ENI) attached) with a load balancer, the load balancer will route the traffic to the IP address of the primary network interface (eth0).
Reference:
http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/gs-ec2VPC.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
amministrazione
8 months, 1 week ago
A. The organization should ensure that the IP which is required to receive the ELB traffic is attached to a primary network interface.
upvoted 1 times
...
SkyZeroZx
1 year, 10 months ago
Selected Answer: A
A. The organization should ensure that the IP which is required to receive the ELB traffic is attached to the primary network interface. When using Elastic Load Balancing (ELB) with instances in an Amazon Virtual Private Cloud (VPC), ELB distributes traffic to instances based on their registered IP addresses. By default, ELB distributes traffic across all available IP addresses associated with the instances. In this scenario, if the organization wants ELB to send data to a particular Elastic IP (EIP) associated with an instance, they should ensure that the EIP is attached to the primary network interface of the instance.
upvoted 1 times
...
tkanmani76
3 years, 4 months ago
Option A - If you associate an Elastic IP address with the eth0 network interface of your instance, its current public IPv4 address (if it had one) is released to the EC2-VPC public IP address pool.
upvoted 1 times
...
viet1991
3 years, 5 months ago
A. But the question is seem to be wrong. "ELB to send data to a particular EIP" => "ELB to send data to a particular IP" When the user registers a multi-homed instance (an instance that has an Elastic Network Interface (ENI) attached) with a load balancer, the load balancer will route the traffic to the IP address of the primary network interface (eth0).
upvoted 1 times
...
aimar047
3 years, 6 months ago
Not sure if any answers is right ! phrasing is very bit confusing..
upvoted 2 times
...
newme
3 years, 7 months ago
Though it's not in the answer. How about use target group with target type being ip.
upvoted 3 times
A_New_Guy
3 years, 6 months ago
See Target Type: https://docs.amazonaws.cn/en_us/elasticloadbalancing/latest/application/load-balancer-target-groups.html
upvoted 1 times
01037
3 years, 5 months ago
Target Type can be IP. So what's your point? From what the question asks, Both A and C can be correct.
upvoted 1 times
...
...
...
BillyC
3 years, 7 months ago
A is correct
upvoted 1 times
...
NKnab
3 years, 7 months ago
When you register an instance with an elastic network interface (ENI) attached, the load balancer routes traffic to the primary IP address of the primary interface (eth0) of the instance.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago