Soru

Zorluk: OrtaCost-Optimized Storage Tiering and Lifecycle Management

A financial services company generates daily transaction audit logs averaging 10 MB10\text{ MB} in size. These files are stored in an Amazon S3 Standard bucket. The logs are accessed frequently during the first 12 days12\text{ days} following their creation. After 12 days12\text{ days}, access to these files drops to zero. According to the company's compliance policy, the logs must be retained for a total of 28 days28\text{ days} from their creation date, after which they must be permanently deleted. Which lifecycle policy configuration is the MOST cost-effective for managing these files?

  1. Retain the files in Amazon S3 Standard for the entire 28 days28\text{ days} and configure a lifecycle rule to permanently delete them after 28 days28\text{ days}.Cevap
  2. B
    Transition the files to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after 12 days12\text{ days} and configure a lifecycle rule to permanently delete them after 28 days28\text{ days}.
  3. C
    Transition the files to Amazon S3 Glacier Flexible Retrieval after 12 days12\text{ days} and configure a lifecycle rule to permanently delete them after 28 days28\text{ days}.
  4. D
    Transition the files to Amazon S3 Intelligent-Tiering on day 1 and configure a lifecycle rule to permanently delete them after 28 days28\text{ days}.

Cevap

Retain the files in Amazon S3 Standard for the entire 28 days28\text{ days} and configure a lifecycle rule to permanently delete them after 28 days28\text{ days}.
Keeping the files in S3 Standard for the entire 28 days28\text{ days} is the most cost-effective option because any transition to S3 Standard-IA or S3 Glacier Flexible Retrieval after 12 days12\text{ days} would leave the files in those tiers for only 16 days16\text{ days}. This is less than the minimum storage duration requirements of 30 days30\text{ days} for S3 Standard-IA and 90 days90\text{ days} for S3 Glacier Flexible Retrieval, leading to prorated minimum duration charges that exceed the cost of S3 Standard. Transitioning to S3 Intelligent-Tiering also incurs monitoring fees without any cost benefit, as files are deleted before they can transition to lower-cost tiers.

Adım Adım Çözüm

1
Analyze the lifecycle of the files, noting that they are created, accessed for 12 days12\text{ days}, and deleted after 28 days28\text{ days} (total lifetime is 28 days28\text{ days}).
2
Calculate the duration of time the files would spend in a secondary storage class if transitioned after 12 days12\text{ days}, which is 2812=16 days28 - 12 = 16\text{ days}.
3
Evaluate the minimum storage duration requirements for S3 Standard-IA (30 days30\text{ days}) and S3 Glacier Flexible Retrieval (90 days90\text{ days}).
4
Determine that transitioning the files to these tiers would trigger early deletion/minimum storage duration penalties, offsetting any potential storage tier savings, and that S3 Intelligent-Tiering would add monitoring fees without tiering benefits because the files are deleted before the 30-day30\text{-day} inactivity threshold.

Anahtar Kavram

Understanding S3 storage class minimum storage duration charges and lifecycle transition rules.
Tahmini Süre:1m 30s
Bu soruyu puanla