SOA-C02 practice question 5 of 10

[Security and Compliance] The SysOps administrator needs to configure a website for CloudFront when the DNS CNAME record points to an S3 URL instead of CloudFront. Options:

Full set: 557 questions
Answer options
A: Disable S3 Block Public Access on the S3 bucket.
B: Create an S3 access point in the same AWS Region where the S3 bucket is located. Configure the access point policy to allow CloudFront to read from the S3 bucket. Point the CNAME record to the S3 access point name.
C: Modify the value of the DNS CNAME record to be arn:aws:s3:::example-com-website-files instead of the S3 URI.
D: Modify the value of the DNS CNAME record to be dllllllabcdef8.cloudfront.net instead of the S3 URI. Correct answer
Correct Answer:
D. Modify the value of the DNS CNAME record to be dllllllabcdef8.cloudfront.net instead of the S3 URI.
Explanation

When using Amazon CloudFront to distribute content stored in an Amazon S3 bucket, DNS requests for the custom domain must explicitly route to the CloudFront distribution. A DNS CNAME record maps an alias to a canonical domain name. If the CNAME incorrectly points directly to the S3 URL, traffic bypasses CloudFront entirely, negating edge caching and HTTPS benefits. To effectively utilize CloudFront, the SysOps administrator must correct this underlying DNS configuration. The CNAME record value must be modified to point to the designated CloudFront distribution domain name (such as dllllllabcdef8.cloudfront.net). By establishing this configuration, all internet traffic destined for the domain is accurately routed through CloudFront edge locations, which then securely fetches and caches the required content from the S3 origin.

Why Incorrect

A: Disabling S3 Block Public Access does not fix the DNS routing issue; it only modifies the S3 bucket's inbound access permissions. B: Creating an S3 access point does not address the fundamental DNS misconfiguration where the domain domain continues to point to S3 rather than CloudFront. C: A DNS CNAME record must strictly map to a valid domain name, not an AWS IAM ARN. Implementing an ARN would immediately break DNS resolution.

References

AWS Documentation, Amazon Route 53, "Routing traffic to an Amazon CloudFront web distribution", Section: Configuring Route 53.

AWS Documentation, Amazon CloudFront, "Using custom URLs by adding alternate domain names (CNAMEs)", Section: Updating DNS routing.

Scroll to Top