exam questions

Exam ANS-C00 All Questions

View all questions & answers for the ANS-C00 exam

Exam ANS-C00 topic 1 question 21 discussion

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

An organization runs a consumer-facing website on AWS. The Amazon EC2-based web fleet is load balanced using the AWS Application Load Balancer; Amazon
Route 53 is used to provide the public DNS services.
The following URLs need to server content to end users:
test.example.com
web.example.com
example.com
Based on this information, what combination of services must be used to meet the requirement? (Choose two.)

  • A. Path condition in ALB listener to route example.com to appropriate target groups.
  • B. Host condition in ALB listener to route *.example.com to appropriate target groups.
  • C. Host condition in ALB listener to route example.com to appropriate target groups.
  • D. Path condition in ALB listener to route *.example.com to appropriate target groups.
  • E. Host condition in ALB listener to route $$$$.example.com to appropriate target groups.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
HazemYousry
Highly Voted 3 years, 4 months ago
B&C are the correct answers
upvoted 26 times
Globetrotter
3 years, 4 months ago
I am also thinking B and C as the right aswers
upvoted 7 times
...
...
exams
Highly Voted 3 years, 4 months ago
B&C .. based on Host Conditions mentioned on this URL: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#rule-condition-types
upvoted 11 times
...
Vudew
Most Recent 5 days, 7 hours ago
Selected Answer: BC
The correct answer is B,C This is what the Udemy course says.
upvoted 1 times
...
PavanKushwah123
2 years, 1 month ago
Correct Answer AC
upvoted 1 times
...
cdeavila
2 years, 6 months ago
b & c You must include at least one "." character. You can include only alphabetical characters after the final "." character. Example hostnames example.com test.example.com *.example.com The rule *.example.com matches test.example.com but doesn't match example.com.
upvoted 1 times
...
MohamedSherif1
2 years, 9 months ago
B & C are correct
upvoted 1 times
...
clooudy
2 years, 9 months ago
Selected Answer: BC
B and C
upvoted 1 times
...
Cyril_the_Squirl
3 years, 3 months ago
A and B are Correct. To add a host header condition you enter the hostname (for example, *.example.com) with max 128 characters and Only the following wildcard characters are supported: * and ?…$$$$ is not even supported in ELB rule syntax. To add a path condition, choose Add condition, Path and enter the path pattern (for example, /img/*).
upvoted 2 times
...
zenfox
3 years, 3 months ago
B & C Example hostnames example.com test.example.com *.example.com The rule *.example.com matches test.example.com but doesn't match example.com. Example host header condition for the AWS CLI You can specify conditions when you create or modify a rule. For more information, see the create-rule and modify-rule commands. The following condition is satisfied by requests with a host header that matches the specified string. [ { "Field": "host-header", "HostHeaderConfig": { "Values": ["*.example.com"]
upvoted 1 times
...
Huy
3 years, 3 months ago
I think the $ sign is typed by mistake, it should be ?. In that case, C & E are correct. B & C is wrong since web.example.com and test.example.com will both match the condition. So condition evaluate for example.com, test.example.com and default is for web.example.com
upvoted 2 times
...
Ishu_awsguy
3 years, 3 months ago
the answer will be based on how we interpret the question . What does $$$$ signify ? a real input or just a syntax which would be replaced by web and test host headers.
upvoted 1 times
...
2aldous
3 years, 3 months ago
B&C Path rules are not necessary only host rules *. example.com and example.com
upvoted 4 times
Ishu_awsguy
3 years, 3 months ago
the point is, if you are considering $$$$ as a literal input , then the option is wrong. But I think the question means $$$$=test and ABC/XYZ . With *.example to com you cannot route ABC and test host header to seperate backends. I think it should not be taken literally as an input, rather a syntax showcasing in question, So the answer is C and E. * does cannot satisfy separate backend targets for ABC and test .
upvoted 3 times
NosFerazi
2 years ago
probably $ == ?
upvoted 1 times
...
...
...
backfringe
3 years, 3 months ago
I think B & C
upvoted 5 times
...
Scunningham99
3 years, 3 months ago
answer is B * C https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html
upvoted 4 times
...
Scunningham99
3 years, 3 months ago
answer is B * C https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html
upvoted 3 times
...
Scunningham99
3 years, 3 months ago
answer is B * C https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html
upvoted 3 times
...
Scunningham99
3 years, 3 months ago
answer is B * C https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago