SAP-C02 Practice Question: Accelerate Workload Migration and Modernization
Exhibit
Refer to the exhibit.
Resources:
MyBucket:
Type: AWS::S3::Bucket
Properties:
VersioningConfiguration:
Status: Enabled
LifecycleConfiguration:
Rules:
- Id: ArchiveRule
Status: Enabled
Prefix: logs/
Transitions:
- TransitionInDays: 30
StorageClass: GLACIER
PublicAccessBlockConfiguration:
BlockPublicAcls: trueRefer to the exhibit. A company creates this CloudFormation stack. After 30 days, what happens to objects with the prefix 'logs/'?
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
✓
They are moved to the GLACIER storage class.
The lifecycle rule in the CloudFormation template specifies a transition to GLACIER after 30 days for objects with the prefix 'logs/'. Therefore, after 30 days, those objects are moved to GLACIER. Option A is incorrect because the lifecycle rule is set to transition, not delete. Option B is incorrect because versioning does not prevent lifecycle transitions. Option C is incorrect because expiration is not required for transition; the transition action moves objects to GLACIER after 30 days.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
They are deleted because of the lifecycle rule.
Why it's wrong here
The lifecycle rule transitions objects, it does not delete them. Rule is enabled but that doesn't cause deletion.
- ✗
They remain in Standard storage because versioning is enabled.
Why it's wrong here
Versioning does not prevent lifecycle transitions; objects are still transitioned.
- ✗
They are deleted after 30 days because no expiration is defined.
Why it's wrong here
No expiration is needed; the transition action itself moves objects to GLACIER after 30 days.
- ✓
They are moved to the GLACIER storage class.
Why this is correct
Correct, as the transition action moves objects to GLACIER after 30 days.
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 SAP-C02 question from scratch — 1,660 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 →
JA
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.