Drag steps to the numbered slots on the right, or tap a step then tap a slot.
SOA-C02 Networking and Content Delivery Practice Question
Drag and drop the steps to enable AWS CloudTrail logging for a specific S3 bucket into 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 to store CloudTrail logs with appropriate bucket policy. Step 2: Create a CloudTrail trail. Step 3: Configure the trail to enable data events for the specific S3 bucket.
First create a log bucket with proper policy, then create the trail and configure it to log events for the target bucket.
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 to store CloudTrail logs with appropriate bucket policy. Step 2: Create a CloudTrail trail. Step 3: Configure the trail to enable data events for the specific S3 bucket.
Why this is correct
This is the correct order because the log bucket must exist before creating the trail to ensure CloudTrail can write logs immediately, and the trail must exist before configuring data events for the target S3 bucket.
- ✗
Step 2: Create a CloudTrail trail. Step 1: Create an S3 bucket to store CloudTrail logs with appropriate bucket policy. Step 3: Configure the trail to enable data events for the specific S3 bucket.
Why it's wrong here
This is incorrect because if the trail is created before the log bucket, CloudTrail may fail to deliver logs or you may have to update the trail later. The log bucket should be prepared first.
- ✗
Step 1: Create an S3 bucket to store CloudTrail logs with appropriate bucket policy. Step 3: Configure the trail to enable data events for the specific S3 bucket. Step 2: Create a CloudTrail trail.
Why it's wrong here
Placing bucket creation first is correct, but this sequence attempts to configure data events before the CloudTrail trail exists. Data events are defined at the trail level; you cannot edit or enable them on a trail that has not been created because there is no trail resource to update. Additionally, the trail creation step later would require specifying the bucket as its log destination, so any data event configuration done earlier would be lost or need to be redone. Thus, this order fails because step 3 has a hard dependency on step 2, not on the log bucket alone.
- ✗
Step 2: Create a CloudTrail trail. Step 3: Configure the trail to enable data events for the specific S3 bucket. Step 1: Create an S3 bucket to store CloudTrail logs with appropriate bucket policy.
Why it's wrong here
Creating the trail before the log S3 bucket exists breaks a fundamental prerequisite: during trail creation you must supply an S3 bucket as the delivery target, and that bucket must already exist and have the appropriate CloudTrail bucket policy applied so CloudTrail can verify write permissions. If the bucket is created later, the trail's initial configuration is incomplete and CloudTrail may log errors or fail to deliver records until the trail is updated. Furthermore, configuring data events for the target S3 bucket before the log bucket exists is premature because the trail lacks a validated log destination, and the data event configuration does not create or prepare the bucket. This order inverts the required sequence of dependency resolution.
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
Courseiva writes every SOA-C02 question from scratch — 247 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SOA-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 SOA-C02 exam.