exam questions

Exam ANS-C00 All Questions

View all questions & answers for the ANS-C00 exam

Exam ANS-C00 topic 1 question 363 discussion

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

A company uses an Application Load Balancer (ALB) to provide access to a multi-tenant web application for 25 customers. The company creates a unique hostname for each customer to use to access the application. Hostnames use the format customer-name.example.com.
Each customer has a dedicated group of Amazon EC2 instances that run their own version of the web application. When a customer visits customer- name.example.com, the ALB should route the request to the correct group of EC2 instances. The company requires a highly available solution that is easy to maintain.
Which solution meets these requirements at the LOWEST cost?

  • A. Create one ALB for all customers. Create a listener rule that includes an HTTP header condition to match the URL. Add a forward action to route the request to the customer target group. Use Amazon Route 53 to create an alias record for each customer-name.example.com hostname that points to the ALB.
  • B. Create one ALB for each customer. Configure the listener to route requests to the customer target group. Configure an NGINX proxy server to manage connections to each ALB. Use Amazon Route 53 to create a CNAME record for each customer-name.example.com hostname that points to the NGINX proxy server.
  • C. Create one ALB for all customers. Create a listener rule that includes a Host header condition to match the hostname. Add a forward action to route the request to the customer target group. Use Amazon Route 53 to create an alias record for each customer-name.example.com hostname that points to the ALB.
  • D. Create one ALB for each customer. Configure the listener to route requests to the customer target group. Create an Amazon CloudFront distribution. Add each ALB to the distribution as a custom origin. Use Amazon Route 53 to create an alias for each customer-name.example.com hostname that points to the CloudFront distribution.
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
C One ALB for all customers is sufficient, remove answer BD from selection. The HTTP Header contains information about the HTTP Body and the Request/Response https://www.cleantutorials.com/html/format-of-http-request-response-header-and-body-with-example Host, The domain name of the server (for virtual hosting), and the TCP port number on which the server is listening Host: en.wikipedia.org:8080 Host: en.wikipedia.org https://en.wikipedia.org/wiki/List_of_HTTP_header_fields An example of a URL is https://www.computerhope.com From above, matching hostname over URL is to better identify different customers, so answer C is my take.
upvoted 14 times
...
Marty2021
Most Recent 2 years, 11 months ago
Selected Answer: C
C - Agree with Sapien45s summary
upvoted 2 times
...
sapien45
3 years, 2 months ago
You can now 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. https://aws.amazon.com/blogs/aws/new-host-based-routing-support-for-aws-application-load-balancers/ C
upvoted 3 times
...
zoomac
3 years, 4 months ago
Selected Answer: C
each consumer a unique hostname for accessing the program. Customer-name.example.com is the format for hostnames.
upvoted 2 times
...
JohnnyBG
3 years, 4 months ago
Selected Answer: C
per bellow comment
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 ...