In order to ensure that alternate domains names can be used with your cloudfront distribution , which of the following must be done to ensure this works.
Click on the arrows to vote for the correct answer
A. B. C. D.Answer - D.
The AWS documentation mentions the following.
When you add an alternate domain name to a distribution, you need to create a CNAME record in your DNS configuration to route DNS queries for the domain name to your CloudFront distribution.
For more information on CNAME in Cloudfront, please visit the link:
http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.htmlTo ensure that alternate domain names can be used with your CloudFront distribution, you need to create a CNAME record with the DNS service for the domain name that you own.
Option A is incorrect because a CNAME record cannot be created for the zone apex record. The zone apex record is the root record of a domain and cannot be a CNAME record. However, you can use an Alias record to associate the zone apex record with a CloudFront distribution.
Option B is incorrect because an AAAA record is used for IPv6 addresses and not for associating alternate domain names with a CloudFront distribution. Therefore, this option is irrelevant in this context.
Option C is incorrect because a reverse pointer record (PTR record) is used for reverse DNS lookup and not for associating alternate domain names with a CloudFront distribution. Therefore, this option is irrelevant in this context.
Option D is the correct answer because you need to own the domain name and create a CNAME record with the DNS service for the domain name. The CNAME record should point to the CloudFront distribution domain name (e.g. d1234.cloudfront.net). This allows the alternate domain name to be associated with the CloudFront distribution, which can be accessed using the alternate domain name.
In summary, the correct answer is D. To ensure that alternate domain names can be used with your CloudFront distribution, you need to own the domain name and create a CNAME record with the DNS service for the domain name.