Soru

Zorluk: OrtaCost-Optimized Storage Tiering and Lifecycle Management

A healthcare company uploads patient intake documents averaging 250 KB250\text{ KB} in size to an Amazon S3 Standard bucket. The files are accessed frequently during the first 2020 days after upload. After 2020 days, the files are rarely accessed, but they must be retained for a total of 3535 days from the upload date for compliance, after which they can be deleted. Which storage strategy is the most cost-effective for this workload?

  1. A
    Configure an Amazon S3 Lifecycle policy to transition the records to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after 20 days, and expire the objects after 35 days.
  2. Keep the records in Amazon S3 Standard, and configure an Amazon S3 Lifecycle policy to expire the objects after 35 days.Cevap
  3. C
    Configure an Amazon S3 Lifecycle policy to transition the records to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after 20 days, and route all subsequent retrieval traffic from Amazon EC2 instances in a private subnet through a NAT Gateway.
  4. D
    Keep the records in Amazon S3 Standard, and run an AWS Lambda function continuously on an Amazon EventBridge schedule to scan the S3 bucket and delete files older than 35 days.

Cevap

Keep the records in Amazon S3 Standard, and configure an Amazon S3 Lifecycle policy to expire the objects after 35 days.
Keeping the files in S3 Standard for the full 35 days and using an S3 Lifecycle policy to delete them is the most cost-effective strategy. Transitioning the files to S3 Standard-IA at day 20 means they would only be stored in S3 Standard-IA for 15 days before deletion. Since S3 Standard-IA has a minimum storage duration charge of 30 days, the company would be billed for 30 days of storage, negating any cost savings from the lower tier. Therefore, avoiding the transition and keeping the files in S3 Standard is cheaper.

Adım Adım Çözüm

1
Determine the active retention period in the target storage tier after the initial frequent access window.
The files require storage in the secondary tier from day 20 to day 35, which is a duration of 1515 days (3520=1535 - 20 = 15 days).
This helps evaluate if transitioning to an infrequent access storage tier meets the minimum storage duration requirements.
2
Evaluate S3 Standard-Infrequent Access (S3 Standard-IA) storage duration constraints.
S3 Standard-IA enforces a minimum storage charge of 30 days. Storing files in this tier for only 15 days before deletion results in paying for 15 days of unused storage.
This determines if the transition to S3 Standard-IA incurs an early deletion penalty.
3
Compare the total cost of keeping the files in S3 Standard versus transitioning them.
Keeping the 250 KB250\text{ KB} files in S3 Standard for 35 days is more cost-effective because it avoids both the 30-day minimum storage charge penalty and the S3 transition request charges.
This identifies the most cost-optimal storage tiering strategy.

Anahtar Kavram

Amazon S3 Standard-IA has a minimum storage duration charge of 30 days. Transitioning objects to S3 Standard-IA that are deleted before 30 days are up results in a cost penalty.
Bu soruyu puanla