exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 261 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 261
Topic #: 1
[All AWS Certified Developer Associate Questions]

A company is running a software-as-a-service (SaaS) application in its on-premises data center. The application architecture uses a frontend Apache web server to support many customer-specific websites. The Apache web server routes traffic to a different set of servers based on the domain name that is specified in the host header of the initial request.

The company decides to move its architecture to AWS. A developer is moving the customer-specific backend servers onto Amazon EC2 instances. The developer must configure the EC2 instances in Auto Scaling groups for each customer and must register the instances in different target groups. The developer needs to replace the frontend Apache web server with an Elastic Load Balancing (ELB) load balancer. The developer also must forward queries for specific domain names to the appropriate target groups.

Which configuration on AWS will meet these requirements?

  • A. Use a Network Load Balancer and host-based routing to respective backend target groups.
  • B. Use a Network Load Balancer and path-based routing to respective backend target groups.
  • C. Use an Application Load Balancer and host-based routing to respective backend target groups.
  • D. Use an Application Load Balancer and path-based routing to respective backend target groups.
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
DrCloud
Highly Voted 2 years, 6 months ago
Selected Answer: C
Given: - routes traffic to a different set of servers based on the "domain name" - must forward queries for specific "domain names" Host-Based Routing: You can create Application Load Balancer rules that route incoming traffic based on the "domain name" specified in the Host header. Requests to "api.example.com" can be sent to one target group, requests to "mobile.example.com" to another, and all others (by way of a default rule) can be sent to a third.
upvoted 9 times
...
rcaliandro
Most Recent 1 year, 11 months ago
Torn between C and D I will not vote. For sure we have to consider Application Load Balancer rather than NLB. But the information why do you say that is contained in the host rather than the path?
upvoted 1 times
...
sichilam
2 years, 4 months ago
C it is
upvoted 1 times
...
hb0011
2 years, 4 months ago
Selected Answer: C
How can anyone look at this and seriously pick D? It's definitely C.
upvoted 2 times
...
fswklotto1
2 years, 6 months ago
Selected Answer: C
Vote for C
upvoted 1 times
...
michaldavid
2 years, 6 months ago
Selected Answer: D
This is D
upvoted 1 times
...
k1kavi1
2 years, 6 months ago
Selected Answer: C
https://aws.amazon.com/blogs/aws/new-host-based-routing-support-for-aws-application-load-balancers/
upvoted 4 times
...
kapil206001
2 years, 6 months ago
D https://aws.amazon.com/premiumsupport/knowledge-center/elb-achieve-path-based-routing-alb/
upvoted 1 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 ...