Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Advanced Networking - Specialty ANS-C01 All Questions

View all questions & answers for the AWS Certified Advanced Networking - Specialty ANS-C01 exam

Exam AWS Certified Advanced Networking - Specialty ANS-C01 topic 1 question 138 discussion

A company has 10 web server Amazon EC2 instances that run in an Auto Scaling group in a production VPC. The company has 10 other web servers that run in an on-premises data center. The company has a 10 Gbps AWS Direct Connect connection between the on-premises data center and the production VPC.

The company needs to implement a load balancing solution that receives HTTPS traffic from thousands of external users. The solution must distribute the traffic across the web servers on AWS and the web servers in the on-premises data center. Regardless of the location of the web servers, HTTPS requests must go to the same web server throughout the entire session.

Which solution will meet these requirements?

  • A. Create a Network Load Balancer (NLB) in the production VPC. Create a target group. Specify ip as the target type. Register the EC2 instances and the on-premises servers with the target group Enable connection draining on the NLB
  • B. Create an Application Load Balancer (ALB) in the production VPC. Create a target group Specify ip as the target type. Register the EC2 instances and the on-premises servers with the target group. Enable application-based session affinity (sticky sessions) on the ALB.
  • C. Create a Network Load Balancer (NLB) in the production VPCreate a target group. Specify instance as the target type. Register the EC2 instances and the on-premises servers with the target group. Enable session affinity (sticky sessions) on the NLB.
  • D. Create an Application Load Balancer (ALB) in the production VPC. Create a target group. Specify instance as the target type Register the EC2 instances and the on-premises servers with the target group Enable application-based session affinity (sticky sessions) on the ALB.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Josh1217
Highly Voted 1 year, 2 months ago
Selected Answer: B
Only 'IP' target type will allow load balancing across On-Prem and Cloud. Plus need Stickiness. So Option B.
upvoted 11 times
[Removed]
1 year, 2 months ago
B route traffic to both EC2 instances and on-premises servers, use IP as the target type https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html
upvoted 4 times
...
...
Blitz1
Most Recent 2 months ago
Selected Answer: B
Something is wrong with question or answers. When you create target groups you can specify the target type either: 1) Instances ( and here you can add also EC2 scaling groups) 2) IP Address ( Supports load balancing to VPC and on-premises resources. ) But when you have both EC2 scaling and on-prem IP what can you do ? Plus it is saying "receives HTTPS traffic from thousands of external users" which implies that autoscale should work to accommodate. A very complex solution will be to have ALB in ALB meaning that in the target groups of first ALB you will have IP of the on-prem server and the IP of a load-balancer which includes the EC2 auto-scalling group but it's kinda a nightmare to proper manage this thing but technically possible. So only because of that i will go for B but i strongly believe something is wrong with the question.
upvoted 1 times
...
_mavik_
10 months, 1 week ago
Selected Answer: B
NLB doesn't support sticky session
upvoted 2 times
...
Arad
10 months, 2 weeks ago
Selected Answer: B
B is the right answer.
upvoted 2 times
...
awskiller007
1 year, 1 month ago
B https://aws.amazon.com/blogs/aws/new-application-load-balancing-via-ip-address-to-aws-on-premises-resources/
upvoted 4 times
...
JosMo
1 year, 2 months ago
Selected Answer: B
aggred on B
upvoted 2 times
...
Balasmaniam
1 year, 3 months ago
B is correct ans
upvoted 2 times
...
Balasmaniam
1 year, 3 months ago
doubt on answer: C, because when using an instance ID as a target, an EC2 instance could only receive traffic from the load balancer on its primary IP address and primary network interface. This limits hosting multiple applications on the same instance where each application requires different IP address, network interface, or security group. Using IP addresses as targets removes this limitation as the load balancer can route to multiple IP addresses and network interfaces on the same instance.
upvoted 1 times
...
AJ7428
1 year, 3 months ago
Selected Answer: C
Answer to the key is thousands of users connecting..
upvoted 2 times
AJ7428
1 year, 3 months ago
changing to Answer B.
upvoted 3 times
...
...
ryluis
1 year, 3 months ago
Selected Answer: B
ALB support on prem's ip address as a target group, and you need session affinity for this. https://aws.amazon.com/blogs/aws/new-application-load-balancing-via-ip-address-to-aws-on-premises-resources/
upvoted 4 times
...
Pratap
1 year, 3 months ago
Selected Answer: B
Applcation LB and IP address in TG
upvoted 4 times
...
takecoffe
1 year, 3 months ago
Selected Answer: C
you need network load balancer to add ips of the onpremise servers
upvoted 4 times
Pratap
1 year, 3 months ago
on premise instances can be added as targets to ALB
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 ...