A company plans to launch a static website on its domain example.com and subdomain www.example.com using Amazon S3.
How should the SysOps administrator meet this requirement?
A.
Create one S3 bucket named example.com for both the domain and subdomain.
B.
Create one S3 bucket with a wildcard named *.example.com for both the domain and subdomain.
C.
Create two S3 buckets named example.com and www.example.com. Configure the subdomain bucket to redirect requests to the domain bucket.
D.
Create two S3 buckets named http://example.com and http://*.example.com. Configure the wildcard (*) bucket to redirect requests to the domain bucket.
Let's analyze the options:
A. One bucket named example.com: This works, but it doesn't leverage S3's static website hosting feature for the subdomain.
B. Wildcard bucket (*.example.com): This isn't possible. S3 doesn't support wildcard buckets for static website hosting.
C. Two buckets with redirection: This creates unnecessary complexity by requiring redirection logic within the subdomain bucket.
D. Two buckets with http:// prefix: This is incorrect. Bucket names shouldn't include the protocol (http://).
I think your all crazy. Fact is there can never be a bucket named "example.com" or "www.example.com". What there can be are Route 53 alias records named "example.com" and "www.example.com" that point to the same S3 bucket URL. Even if you did a redirect from one bucket to another, neither bucket can be named as described. This is how all buckets are accessed by URL using bucket name:
http://s3.amazonaws.com/[bucket_name]
OR
http://[bucket_name].s3.amazonaws.com/
Route 53 is how you hide the ugly/terse AWS naming conventions for buckets, EC2 instances, ELBs, you name it.
In retrospect, I have to change my choice to "C" after reviewing the following URL:
https://docs.aws.amazon.com/AmazonS3/latest/userguide/website-hosting-custom-domain-walkthrough.html
It still seems to me that you could just use two Route 53 aliases to the same bucket, but the exam question is clearly referencing the steps in the web URL using two buckets.
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.
anderri
Highly Voted 1 year, 9 months agoklayytech
Most Recent 8 months, 2 weeks agoChristina666
1 year, 4 months agoGomer
1 year, 7 months agoGomer
1 year, 6 months agoTareDHakim
11 months, 1 week agobraveheart22
1 year, 9 months agobbfd465
1 year, 9 months agoccieman2016
1 year, 9 months ago