exam questions

Exam ANS-C00 All Questions

View all questions & answers for the ANS-C00 exam

Exam ANS-C00 topic 1 question 73 discussion

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

A bank built a new version of its banking application in AWS using containers that connect to an on-premises database over a VPN connection. This application version requires users to also update their client application. The bank plans to deprecate the earlier client version. However, the company wants to keep supporting earlier clients through their on-premises version of the application to serve a small portion of the customers who haven't yet upgraded.
What design will allow the company to serve both newer and earlier clients in the MOST efficient way?

  • A. Use an Amazon Route 53 multivalue answer routing policy to route older client traffic to the on-premises application version and the rest of the traffic to the new AWS based version.
  • B. Use a Classic Load Balancer for the new application. Route all traffic to the new application by using an Elastic Load Balancing (ELB) load balancer DNS. Define a user-agent-based rule on the backend servers to redirect earlier clients to the on-premises application.
  • C. Use an Application Load Balancer for the new application. Register both the new and earlier applications as separate target groups and use path-based routing to route traffic based on the application version.
  • D. Use an Application Load Balancer for the new application. Register both the new and earlier application backends as separate target groups. Use host header- based routing to route traffic based on the application version.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
2cool2touch
Highly Voted 3 years, 7 months ago
I'll go for D. User-Agent is a HTTP Header which Contains a characteristic string that allows the network protocol peers to identify the application type, operating system, software vendor or software version of the requesting software user agent. ALB has the capability to route based on headers, no other ELB has that capability. C could be true but they dont mention if the new and old apps have different URLs so D is the likely answer IMO
upvoted 16 times
Ganfeng
3 years, 6 months ago
option D mentions the host header, not the http header.
upvoted 2 times
...
Nimolee
3 years, 5 months ago
did you B? Because only B mentions user-agent
upvoted 1 times
...
sapien45
3 years, 1 month ago
Host headers is not to be confused with HTTP headers, both headrers support different conditions : https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html C
upvoted 1 times
...
...
student2020
Highly Voted 3 years, 6 months ago
I think C is more practical. Send traffic to www.www.example.com, route 53 sends the traffic to the ALB. If path /v1 send to different target group. If path is /v2 send to different target group. V1 target group send traffic to on-prem, v2 sends traffic to new version in vpc
upvoted 13 times
...
Raphaello
Most Recent 1 year ago
Selected Answer: D
D sounds like a proper solution to what is given in the scenario.
upvoted 1 times
...
PorkChop1999
1 year, 1 month ago
Selected Answer: C
A is completely out. It doesn't help to return multiple IP addresses. Client wouldn't know which one to us. B does require backend to redirect traffic which doesn't make sense. Request should never reach backend that's not addressed to it. D is only viable if we use different domain names for the application, which we don't. C is the only viable since I can point to the specific version using path.
upvoted 1 times
...
BigMomma4752
2 years, 1 month ago
A Classic Load Balancer is rarely used in today's environments
upvoted 1 times
...
NariNaray
2 years, 4 months ago
C option mentioned applications behind load balancer while D mention application backend behind loadbalance. seems like C is the answer
upvoted 2 times
...
learnwithaniket
3 years, 5 months ago
C and D both are close. But I will go for D. There are two application versions. Question does not state that they are access using different URLs (hosts). Why would you publish new URL for new version. e.g. v1.abc.com for version1 and v2.abc.com for version2. It makes things complex. It is just different Path in the URL. Like (abc.com/v1 or abc.com/v2) Therefore choosing D is correct.
upvoted 3 times
...
ptpho
3 years, 5 months ago
It's about ALB listener condition rule with D we need 2 cname records which are not mentioned -> I will go with C
upvoted 2 times
...
abc321
3 years, 5 months ago
The host header specifies which website or web application should process an incoming HTTP request. So ANS is D
upvoted 1 times
...
NSF2
3 years, 5 months ago
It is indeed very close tie between C and D, however based on the information on the link below, I am going for D. https://aws.amazon.com/about-aws/whats-new/2019/03/application-load-balancers-now-support-advanced-request-routing/
upvoted 1 times
...
JamesTR
3 years, 6 months ago
C or D. It is impossible to answer this question because it depends of an arbitrary choice of the developers how they differentiate old and new apps. I lean to C because D will require new DNS entry, not mentioned in D.
upvoted 8 times
Huy
3 years, 5 months ago
It is C. Host-header means the hostname. Here you need 2 target groups: 1 register with instance id (new version) and 1 registered with the public IP address of on-premise version. It is not likely that the old client version use hard-coded server IP.
upvoted 1 times
...
...
Ganfeng
3 years, 6 months ago
I will go to C. I would imagine for the new or old version would appear on the path, instead of using different domain name? Not sure
upvoted 2 times
...
kmlee
3 years, 6 months ago
I have questions about C or D, in this questions, there mentioned about 'earlier client version' which means can't be supported layer7 (Application load balancer). How it could be answers for this questions?
upvoted 1 times
droop72
3 years, 6 months ago
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#query-string-conditions ==D==
upvoted 1 times
...
Ishu_awsguy
3 years, 5 months ago
They say earlier client application version. Not older browser version or client protocols . i agree if they would have said older client browsers etc. then it would have only been possible with Classic ELB. For now ill go with C for ease.
upvoted 1 times
Ishu_awsguy
3 years, 5 months ago
i would like to change my answer to D
upvoted 1 times
...
...
...
Stec1980
3 years, 6 months ago
Pretty sure it's D...The app may not use a different path (so C is out), but most likely something in the header to determine the version.
upvoted 1 times
...
sensor
3 years, 6 months ago
Req is to update their client application too - so C. D switches only to appropriate backend but client remains.
upvoted 2 times
...
awscertguy
3 years, 6 months ago
Answer is D. “ Application Load Balancers now support request routing based on standard or custom HTTP headers and methods, query parameters, and source IP addresses. This launch extends the existing support for Host header and path-based routing rules in Application Load Balancers to more fields from HTTP request messages. This richer set of routing criteria enables you to further simplify your application architecture by offloading routing functionality to the load balancer. It can also be used to block unwanted traffic at the load balancer.” https://aws.amazon.com/about-aws/whats-new/2019/03/application-load-balancers-now-support-advanced-request-routing/
upvoted 3 times
...
Bijukurup
3 years, 6 months ago
my answer is D
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