ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 293 - SOA-C02 discussion

Report
Export

A SysOps administrator must configure Amazon S3 to host a simple nonproduction webpage. The SysOps administrator has created an empty S3 bucket from the AWS Management Console. The S3 bucket has the default configuration in place.

Which combination of actions should the SysOps administrator take to complete this process? (Choose two.)

A.
Configure the S3 bucket by using the 'Redirect requests for an object' functionality to point to the bucket root URL.
Answers
A.
Configure the S3 bucket by using the 'Redirect requests for an object' functionality to point to the bucket root URL.
B.
Turn off the 'Block all public access' setting. Allow public access by using a bucket ACL that contains <Permission>WEBSITE</Permission>.
Answers
B.
Turn off the 'Block all public access' setting. Allow public access by using a bucket ACL that contains <Permission>WEBSITE</Permission>.
C.
Turn off the 'Block all public access' setting. Allow public access by using a bucket ACL that allows access to the AuthenticatedUsers grantee.
Answers
C.
Turn off the 'Block all public access' setting. Allow public access by using a bucket ACL that allows access to the AuthenticatedUsers grantee.
D.
Turn off the 'Block all public access' setting. Set a bucket policy that allows 'Principal': the s3:GetObject action.
Answers
D.
Turn off the 'Block all public access' setting. Set a bucket policy that allows 'Principal': the s3:GetObject action.
E.
Create an index.html document. Configure static website hosting, and upload the index document to the S3 bucket.
Answers
E.
Create an index.html document. Configure static website hosting, and upload the index document to the S3 bucket.
Suggested answer: D, E

Explanation:

To host a static website on Amazon S3, the SysOps administrator needs to configure the bucket for public access and set up the static website hosting. Here's how to complete this process:

Turn off 'Block all public access': Amazon S3 buckets have 'Block all public access' settings enabled by default for security. Since the webpage needs to be accessible publicly, this setting must be disabled. This step is crucial to allow public read access to the web content.

Set a bucket policy: After disabling 'Block all public access,' set a bucket policy that explicitly allows public read access to the S3 bucket. This policy should allow the s3:GetObject action for everyone, which can be set by specifying 'Principal': '*'. This policy ensures that anyone can view the webpage but does not grant permissions to modify or delete the content.

Create an index.html document and configure static website hosting: The next step is to create an index.html file, which will serve as the entry point of the website. After creating this file, upload it to the bucket. Then, configure the bucket for static website hosting through the S3 management console. This setting enables the S3 bucket to serve the webpage directly from the index.html file.

Combining these actions, the S3 bucket will be properly configured to host and serve the static website with minimal operational overhead and maximum accessibility.

asked 16/09/2024
Franziska Kreuz
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first