exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 236 discussion

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.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
anderri
Highly Voted 1 year, 9 months ago
Selected Answer: C
C is correct! https://docs.aws.amazon.com/AmazonS3/latest/userguide/website-hosting-custom-domain-walkthrough.html
upvoted 6 times
...
klayytech
Most Recent 8 months, 2 weeks ago
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://).
upvoted 1 times
...
Christina666
1 year, 4 months ago
Selected Answer: C
redirect for web hosting
upvoted 1 times
...
Gomer
1 year, 7 months ago
Selected Answer: A
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.
upvoted 4 times
Gomer
1 year, 6 months ago
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.
upvoted 5 times
TareDHakim
11 months, 1 week ago
Yes not sure why a CNAME record wont be used here, I guess the bucket name must reflect the DNS name is a hard requirement.
upvoted 1 times
...
...
...
braveheart22
1 year, 9 months ago
C is the way
upvoted 2 times
...
bbfd465
1 year, 9 months ago
Selected Answer: C
It's C : https://docs.aws.amazon.com/AmazonS3/latest/userguide/how-to-page-redirect.html
upvoted 3 times
...
ccieman2016
1 year, 9 months ago
Selected Answer: C
is C, https://docs.aws.amazon.com/AmazonS3/latest/userguide/website-hosting-custom-domain-walkthrough.html
upvoted 4 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 ...