exam questions

Exam ANS-C00 All Questions

View all questions & answers for the ANS-C00 exam

Exam ANS-C00 topic 1 question 173 discussion

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

You have a server that serves www, FTP, and mail. You need to access this server using www.yourname.com, ftp.yourname.com, and mail.yourname.com. You want to ensure an IP change results in the least number of other changes.
What is the best solution?

  • A. Create PTR records and point the IP address of the server back to www, ftp, and mail.
  • B. Create an A record pointing to the server's IP address and create CNAME records for www, ftp, and mail and point those to the A record.
  • C. Create an A record for www, ftp and mail, and point it to the ALIAS of the server.
  • D. Create CNAME records for www, ftp, and mail and point those to the A record already provided to the instance by AWS.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
There is no ALIAS record for an EC2 instance, CNAME records pointed to the A record provided by AWS won't work because if the IP changes, the A record will change also. A PTR record is not appropriate here and cannot point to more than one record. Having three CNAME records and one A record will result in only having to change the A record if the IP changes.

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
ChauPhan
Highly Voted 3 years, 7 months ago
A. No, DTR record is not used in this case. D. No, there is no such A record provided by AWS C. There is no alias for instances, only some services such as S3, ELB ==> B
upvoted 5 times
...
eeghai7thioyaiR4
Most Recent 3 years, 8 months ago
The D would be fine
upvoted 2 times
eeghai7thioyaiR4
3 years, 7 months ago
I correct myself again: B is the right answer When you change an IP from an ec2 instance, the public DNS name of the instance will change, so you'll need to change 3 records (www, ftp and mail will need to point to the new name). So D is wrong With B, you only change one record
upvoted 11 times
sapien45
3 years, 2 months ago
Thank you for the clear explanations
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 ...