Drag or tap steps into the slots.
SAP-C02 Practice Question: Accelerate Workload Migration and Modernization
Drag and drop the steps to configure an S3 bucket as a static website hosting in the correct order.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Step 1: Create an S3 bucket, Step 2: Enable static website hosting, Step 3: Upload website content, Step 4: Set bucket policy for public read access, Step 5: Test the website endpoint.
The correct sequence ensures that the S3 bucket is properly configured for static website hosting. Start by creating the bucket, then enable static hosting, upload your files, apply a bucket policy for public read access, and finally test the website URL.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Step 1: Create an S3 bucket, Step 2: Enable static website hosting, Step 3: Upload website content, Step 4: Set bucket policy for public read access, Step 5: Test the website endpoint.
Why this is correct
This is the correct order because you must create the bucket first, then enable static website hosting, upload your content, set a public read policy to allow access, and finally test the endpoint.
- ✗
Step 1: Create an S3 bucket, Step 2: Upload website content, Step 3: Enable static website hosting, Step 4: Set bucket policy for public read access, Step 5: Test the website endpoint.
Why it's wrong here
This order is incorrect because uploading content before enabling static website hosting might work but it's not the standard sequence; enabling hosting should be done early to configure the index and error documents.
- ✗
Step 1: Create an S3 bucket, Step 2: Enable static website hosting, Step 3: Set bucket policy for public read access, Step 4: Upload website content, Step 5: Test the website endpoint.
Why it's wrong here
This order is incorrect because setting the bucket policy before uploading content is not necessary; the policy should be set after content is uploaded to ensure correct permissions for the files.
- ✗
Step 1: Create an S3 bucket, Step 2: Set bucket policy for public read access, Step 3: Enable static website hosting, Step 4: Upload website content, Step 5: Test the website endpoint.
Why it's wrong here
This order is incorrect because setting the bucket policy before enabling static website hosting is premature; the hosting configuration must be enabled first to know the website endpoint for testing.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
This SAP-C02 question is part of Courseiva's 984-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.