exam questions

Exam ANS-C00 All Questions

View all questions & answers for the ANS-C00 exam

Exam ANS-C00 topic 1 question 77 discussion

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

A network engineer is deploying an application on an Amazon EC2 instance. The instance is reachable within the VPC through its private IP address and from the internet using an elastic IP address. Clients are connecting to the instance over the Internet and within the VPC, and the application needs to be identified by a single custom Fully Qualified Domain Name that is publicly resolvable `"`˜app.example.com'.
Instances within the VPC should always connect to the private IP to minimize data transfer costs.
How should the engineer configure DNS to support these requirements?

  • A. Use Amazon Route 53 to create a geo-based routing entry for the hostname 'app' in the DNS zone 'example.com'.
  • B. Create two A record entries for 'app' in the DNS zone 'example.com' ג€" one for the public IP and one for the private IP.
  • C. Use Route 53 to create an ALIAS record to the public DNS name for the instance.
  • D. Create a CNAME for 'app' in the DNS zone 'example.com' to the public DNS name for the Amazon EC2 instance.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
CCNPWILL
2 years, 8 months ago
Selected Answer: D
Agreed. need ALIAS. D
upvoted 1 times
CCNPWILL
2 years, 8 months ago
correction. CNAME*
upvoted 1 times
...
...
khchan123
3 years, 3 months ago
D is correct. Route 53 alias does not support to EC2. https://aws.amazon.com/premiumsupport/knowledge-center/route-53-create-alias-records/ Be sure to use the correct DNS record type for IP addresses in the service you're pointing to: Amazon CloudFront distribution – A record (IPv4) or AAAA record (IPv6) AWS Elastic Beanstalk environment – A record (IPv4) Elastic Load Balancing (ELB) load balancer – A record (IPv4) or AAAA record (IPv6) Amazon Simple Storage Service (Amazon S3) bucket – A record (IPv4) Amazon API Gateway custom regional API and edge-optimized API – A record (IPv4) Amazon VPC interface endpoint – A record (IPv4) AWS Global Accelerator – A record (IPv4) Another Route 53 record in the same hosted zone
upvoted 1 times
...
ccieman2016
3 years, 5 months ago
D is correct, "application over EC2". There isn't support Alias to EC2.
upvoted 3 times
...
eberhe900
3 years, 5 months ago
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-choosing-alias-non-alias.html
upvoted 1 times
...
eberhe900
3 years, 5 months ago
the answer is C! https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-choosing-alias-non-alias.html
upvoted 1 times
...
learnwithaniket
3 years, 6 months ago
the zone apex must be an A Record, and not a CNAME record So, A record for example.com and CNAME record for app.example.com Hence answer is D.
upvoted 1 times
...
walkwolf3
3 years, 8 months ago
C A. There is no geo location requirement. B. private doesn't need DNS name It's difficult to choose C and D, Alias and CNAME records are very similar. But from cost perspective, there is no charge for this case. So the answer is C Route 53 doesn't charge for alias queries to AWS resources. https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-choosing-alias-non-alias.html
upvoted 1 times
walkwolf3
3 years, 7 months ago
Change my answer to D. If a user sends out a DNS request for app.example.com, it will query example.com zone first, so create a CNAME in the zone example.com
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 ...