考题解析 | 使用 Amazon S3 生命周期管理策略优化存储成本


  题目

A company is storing backup files by using Amazon S3 Standard storage. The files are accessed frequently for 1 month. However, the files are not accessed after 1 month. The company must keep the files indefinitely.
Which storage solution will meet these requirements MOST cost-effectively?
A. Configure S3 Intelligent-Tiering to automatically migrate objects.
B. Create an S3 Lifecycle configuration to transition objects from S3 Standard to S3 Glacier Deep Archive after 1 month.
C. Create an S3 Lifecycle configuration to transition objects from S3 Standard to S3 Standard-Infrequent Access (S3 Standard-IA) after 1 month.
D. Create an S3 Lifecycle configuration to transition objects from S3 Standard to S3 One Zone-Infrequent Access (S3 One Zone-IA) after 1 month.

  参考答案

B

  参考解析

技巧:排除明显错误选项,在没有明显错误的选项中选择最合理的选项。
一家公司正在采用 Amazon S3 服务设计备份文件的存储方案。项目需求为,备份文件在上传后的 1 个月内被频繁访问,1 个月后不再被访问,但需长期保留(无限期存储)。选择最具成本效益的存储方案。

A. 不正确。配置 S3 Intelligent-Tiering 自动迁移对象。该层数据根据访问模式在“频繁访问层”和“不频繁访问层”之间自动移动。频繁访问的文件存储在“频繁访问层”,它与 S3 Standard 相同的性能和成本。30 天未访问的文件自动移动到“不频繁访问层”,它存储成本降低,但检索时无额外费用。前 30 天存储费用为 S3 Standard 价格,30 天之后为 S3 Standard-IA 价格(但需支付少量监控费用,每 1,000 个对象约 $0.0025/ 月),无无额外检索费用(与 S3 Standard-IA 不同)。在本案例中,1 个月后文件完全不被访问,但 S3 Intelligent-Tiering 仍会保留在“不频繁访问层”(需支付 S3 Standard-IA 级别的存储成本 + 监控费用),长期来看,存储成本高于 S3 Glacier 层。

B. 正确。使用 S3 Lifecycle 配置,1 个月后迁移到 S3 Glacier Deep Archive 层。文件初始存储在 S3 Standard(前 1 个月),1 个月后自动迁移到 S3 Glacier Deep Archive(最低成本的存储类,每 GB 存储费用最低)。S3 Glacier Deep Archive 层,需支付数据检索费用,但本案例中明确指出“1 个月后不再被访问”,因此无需检索,总体费用最低。

C. 不正确。使用 S3 Lifecycle 配置,1 个月后迁移到 S3 Standard-Infrequent Access (S3 Standard-IA) 层。S3 Standard-IA 层的存储成本高于 S3 Glacier 层,不满足“最具成本效益”的要求。

D. 不正确。使用 S3 Lifecycle 配置,1 个月后迁移到 S3 One Zone-Infrequent Access (S3 One Zone-IA) 层。数据仅存储在单个 AZ 中,无法抵御 AZ 故障(不符合企业级备份的可靠性要求),而且存储成本高于 S3 Glacier 层。