AWS Certified Developer Associate DVA-C01 – Question261

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.

Correct Answer: D