exam questions

Exam ANS-C00 All Questions

View all questions & answers for the ANS-C00 exam

Exam ANS-C00 topic 1 question 368 discussion

Exam question from Amazon's ANS-C00
Question #: 368
Topic #: 1
[All ANS-C00 Questions]

A space exploration company owns a series of telescopes that capture a large number of images and data of the night sky. The images and data are processed on an application hosted on AWS Fargate in a target group assigned to an Application Load Balancer (ALB). The application is made available through the address https://space.example.com.
Scientists require another custom-built application hosted on several Amazon EC2 instances within an Auto Scaling group. This application will be made available from the address https://space.example.com/meteor. The company needs a solution that can automatically scale from a small number of requests overnight to a large number of requests for a future meteor shower.
What is the MOST operationally efficient solution that meets these requirements?

  • A. Update the existing target group with the new EC2 instances. Update the application's ALB by adding a listener rule that redirects /meteor to the newly added EC2 instances.
  • B. Create a new target group. Configure the Auto Scaling group of the EC2 instances to use the target group. Update the ALB by adding a listener rule that redirects /meteor to the new target group.
  • C. Create a Network Load Balancer (NLB). Configure the NLB to listen on two ports. Configure a target group for one port to deliver all IP traffic to the Auto Scaling group to process the custom images. Configure a target group for the second port to deliver all IP traffic to Fargate. Use path-based routing in the ALB to route traffic for the URL prefix /meteor to the first target group. Route all other paths to the second target group.
  • D. Place the ALB behind an Amazon CloudFront distribution. Create a Lambda@Edge function that parses the request URI and adds the path-pattern header with the IP addresses of the EC2 instances to any request for /meteor. Add a listener rule to the ALB that looks for the HTTP header and uses the IP addresses of the EC2 instances to forward the traffic.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
walkwolf3
Highly Voted 3 years, 7 months ago
B A. Wrong. One target group can't distribute traffic to specified servers. B. Simple and straightforward. C. Wrong. Why do we need NLB. The existing application is using a large number of images on ALB, so the new ALB should do the work. And both existing and new applications are using HTTPS, there is no sense of using two ports, ect.. D. Could be right, but too complicated and costly.
upvoted 11 times
Homosapien
3 years, 7 months ago
Correct. B is the correct answer. The questions mentions they are using ALBs, so it need to be managed at L7. With NLB the Load balancing is at layer 4 and it never mentions the need for L4 balancing.
upvoted 2 times
...
...
sapien45
Most Recent 3 years, 2 months ago
B, is clear and simple. In real life, expert consultants would recommend YOU to implement D
upvoted 1 times
...
szl0144
3 years, 5 months ago
Selected Answer: B
Bis the correct answer
upvoted 2 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 ...