exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 413 discussion

A company that operates a web application on premises is preparing to launch a newer version of the application on AWS. The company needs to route requests to either the AWS-hosted or the on-premises-hosted application based on the URL query string. The on-premises application is not available from the internet, and a VPN connection is established between Amazon VPC and the company's data center. The company wants to use an Application Load Balancer (ALB) for this launch.
Which solution meets these requirements?

  • A. Use two ALBs: one for on-premises and one for the AWS resource. Add hosts to each target group of each ALB. Route with Amazon Route 53 based on the URL query string.
  • B. Use two ALBs: one for on-premises and one for the AWS resource. Add hosts to the target group of each ALB. Create a software router on an EC2 instance based on the URL query string.
  • C. Use one ALB with two target groups: one for the AWS resource and one for on premises. Add hosts to each target group of the ALB. Configure listener rules based on the URL query string.
  • D. Use one ALB with two AWS Auto Scaling groups: one for the AWS resource and one for on premises. Add hosts to each Auto Scaling group. Route with Amazon Route 53 based on the URL query string.
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
noahsark
Highly Voted 3 years, 7 months ago
C? https://aws.amazon.com/blogs/aws/new-advanced-request-routing-for-aws-application-load-balancers/
upvoted 57 times
...
francisco_guerra
Highly Voted 3 years, 6 months ago
Ans: C After research A- I don't find Anything about routing with query string in Route53 B - Create an EC2 its not an option. C - You can use listeners to routing with query string and have only one LB is better in management. D - Auto-scaling group for on-premises don't make sense for me https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#query-string-conditions
upvoted 28 times
...
BECAUSE
Most Recent 1 year, 11 months ago
Selected Answer: C
C is the answer
upvoted 1 times
...
YanisGTR
2 years, 2 months ago
i Take ans "C" becaus > two target groups
upvoted 1 times
...
HereToReAssureMyself
2 years, 10 months ago
Selected Answer: C
Answer is C , The On premises is inaccessible over internet, ALB is not required so eliminate A, B question doesn't talk anything about scaling and its not required here, Eliminate D
upvoted 4 times
...
Ivanyan
3 years, 2 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
keeplearning_rahul
3 years, 4 months ago
Selected Answer: C
C is correct
upvoted 2 times
...
Phyo007
3 years, 5 months ago
I found 40% answers in this dump are wrong ;-o Anyway, thanks for the comments !
upvoted 6 times
...
Jasneet87m
3 years, 6 months ago
Ans is C. ALB can have multiple Target Groups which can targeted based on path. Also an IP target group type can have on-premises servers address https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html
upvoted 6 times
...
Ravinder2021
3 years, 6 months ago
Why eveyone is saying C, Can someone explain how can we add 2 Target Groups with one ALB. I just tried creating an ALB with one target group, there is no option to add another Target Group
upvoted 2 times
Twinkie
3 years, 6 months ago
Once you have created the ALP pointing to the first target group you have to select the option "Load Balancing" -> "Target Groups" and create a new target group. Then go back to your ALB, open the "Listeners" tab and select "View/Edit rules". From there you can add a second rule (i.e. a path rule like "/on-premises") to forward the request to the second target group. This answer is from Udemy Ultimate AWS Certified Solutions Architect Associate 2021 course. Best.
upvoted 21 times
...
...
AnuhyaTech
3 years, 6 months ago
Answer C https://aws.amazon.com/blogs/aws/new-application-load-balancing-via-ip-address-to-aws-on-premises-resources/
upvoted 6 times
...
Victorzx
3 years, 6 months ago
The answer is A? https://aws.amazon.com/es/blogs/aws/new-application-load-balancing-via-ip-address-to-aws-on-premises-resources/
upvoted 1 times
...
goat15
3 years, 6 months ago
A https://aws.amazon.com/elasticloadbalancing/faqs/ Q: How can I load balance applications distributed across a VPC and on-premises location? A: There are various ways to achieve hybrid load balancing. If an application runs on targets distributed between a VPC and an on-premises location, you can add them to the same target group using their IP addresses. To migrate to AWS without impacting your application, gradually add VPC targets to the target group and remove on-premises targets from the target group. If you have two different applications such that the targets for one application are in a VPC and the targets for other applications are in on-premises location, you can put the VPC targets in one target group and the on-premises targets in another target group and use content based routing to route traffic to each target group. You can also use separate load balancers for VPC and on-premises targets and use DNS weighting to achieve weighted load balancing between VPC and on-premises targets.
upvoted 1 times
Iamrandom
3 years, 6 months ago
This doesn't explain why it's A. BTW correct answer is C.
upvoted 1 times
...
...
krthy
3 years, 6 months ago
C is the correct ans
upvoted 2 times
...
Abdullah22
3 years, 6 months ago
Query string conditions You can use query string conditions to configure rules that route requests based on key/value pairs or values in the query string. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html
upvoted 1 times
...
leliodesouza
3 years, 7 months ago
The answer is C.
upvoted 2 times
...
vvsvijay
3 years, 7 months ago
C is the right answer
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