Question

Difficulty: EasyCost-Optimized Storage Tiering and Lifecycle Management

A financial application stores monthly customer account statements (averaging 10 MB10\text{ MB} each) and daily transactional debug logs (averaging 50 KB50\text{ KB} each) in an Amazon S3 bucket. The account statements are accessed frequently during the first 30 days30\text{ days} but are rarely accessed afterwards, and they must be retained for 7 years7\text{ years} for auditing purposes. The debug logs are only needed for troubleshooting within 14 days14\text{ days} of creation, after which they can be permanently deleted. Which TWO actions should a solutions architect configure in the S3 Lifecycle rules to meet these requirements in the most cost-effective manner? (Select TWO.)

  1. Configure a lifecycle rule to transition the customer account statements to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after $30\text{ days}.Answer
  2. Configure a lifecycle rule to expire the debug logs after 14 days14\text{ days} directly from Amazon S3 Standard.Answer
  3. C
    Configure a lifecycle rule to transition the debug logs to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after 7 days7\text{ days} before deleting them.
  4. D
    Configure a lifecycle rule to transition the debug logs to Amazon S3 Glacier Flexible Retrieval after 7 days7\text{ days} and delete them after $14\text{ days}.
  5. E
    Configure a lifecycle rule to transition the customer account statements to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after $10\text{ days}.

Answer

Configure a lifecycle rule to transition the customer account statements to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after 30 days30\text{ days} and configure a lifecycle rule to expire the debug logs after 14 days14\text{ days} directly from Amazon S3 Standard.
Transitioning customer account statements to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after 30 days30\text{ days} is correct because the statements are large (10 MB10\text{ MB}) and retained for a long period (7 years7\text{ years}), meaning they will not trigger the minimum capacity charge or the minimum storage duration fee. Expiring the debug logs after 14 days14\text{ days} directly from S3 Standard is correct because at 50 KB50\text{ KB} and with a 14 day14\text{ day} lifespan, they would incur early deletion penalties and minimum capacity charges if transitioned to S3 Standard-IA or Glacier.

Step-by-Step Solution

1
Analyze the size, access patterns, and retention requirement of the customer account statements.
The statements are 10 MB10\text{ MB} (greater than the 128 KB128\text{ KB} minimum size limit), are frequently accessed for only 30 days30\text{ days}, and must be stored for 7 years7\text{ years} (longer than the 30 days30\text{ days} minimum duration limit). S3 Standard-IA is the most cost-effective tier after 30 days30\text{ days} because it offers lower storage costs without early transition or deletion penalties.
To identify the optimal lifecycle transition timing and tier for the account statements.
2
Analyze the size, access patterns, and retention requirement of the debug logs.
The debug logs are 50 KB50\text{ KB} (less than the 128 KB128\text{ KB} minimum capacity charge for S3 Standard-IA) and are deleted after 14 days14\text{ days} (less than the 30 days30\text{ days} minimum storage duration for S3 Standard-IA and 90 days90\text{ days} for S3 Glacier).
To evaluate if the debug logs meet the prerequisites for transitioning to colder storage classes without cost penalties.
3
Select the lifecycle actions that minimize storage, retrieval, and penalty costs.
Transitioning the statements to S3 Standard-IA after 30 days30\text{ days} and expiring the debug logs directly from S3 Standard after 14 days14\text{ days} matches the criteria and avoids early deletion or under-capacity billing penalties.
To combine the findings and configure the rules for maximum cost optimization.

Key Concept

Amazon S3 Lifecycle policies must account for minimum storage durations (30 days30\text{ days} for Standard-IA, 90 days90\text{ days} for Glacier) and minimum capacity charges (128 KB128\text{ KB} for IA classes) to avoid cost penalties on transient or small objects.
Rate this question