Q52 — AWS SAA-C03 第2章

第 52/65 题 | ← 返回第2章

Q117.一家公司希望降低其现有三层 Web 架构的成本. Web. 应用程序和数据库服务器在用于开发. 测试和生产环境的 Amazon EC2 实例上运行. EC2 实例在高峰时段平均 CPU 利用率为 30%,在非高峰时段平均 CPU 利用率为 10%.生产 EC2 实例每天 24 小时运行.开发和测试 EC2 实例每天至少运行 8 小时.该公司计划实施自动化以在不使用时停止开发和测试 EC2 实例.哪种 EC2 实例购买解决方案能够最经济高效地满足公司的要求?

正确答案: B. 将预留实例用于生产 EC2 实例将按需实例用于开发和测试 EC2 实例.

解析

The EC2 instance purchasing solution that will meet the company's requirements MOST cost-effectively is B. Use Reserved Instances for the production EC2 instances and use On-Demand Instances for the development and test EC2 instances. Reserved Instances (RIs) provide significant cost savings when compared to On-Demand Instances. RIs require an upfront payment, but offer a discounted hourly rate over the life of the reservation. They are most cost-effective for workloads that run continuously, like the production environment described in this scenario. On-Demand Instances do not require an upfront payment or long-term commitment, but have a higher hourly rate than RIs. They are well-suited for workloads with unpredictable compute requirements, such as the development and test environments in this scenario. Using Spot Instances or Spot Blocks may offer even greater cost savings than On-Demand Instances, but these instances can be interrupted at any time if the demand for capacity increases. In the case of Spot Blocks, they have fixed start and end times which might not align with the actual usage patterns in this scenario. Therefore, using On-Demand Instances for development and test and Reserved Instances for production is the best option in this scenario.最经济有效地满足公司需求的EC2实例购买解决方案是b,对生产EC2实例使用保留实例,对开发和测试EC2实例使用按需实例。 与按需实例相比,保留实例(RIs)可显著节省成本。RIs需要预先付款,但在预订期间提供折扣的小时费率。对于连续运行的工作负载(如本场景中描述的生产环境),它们是最经济有效的。 按需实例不需要预先付款或长期承诺,但每小时的费率高于RIs。它们非常适合具有不可预测计算需求的工作负载,例如本场景中的开发和测试环境。 使用Spot实例或Spot块可能比按需实例节省更多的成本,但是如果对容量的需求增加,这些实例可能随时中断。在Spot block的情况下,它们有固定的开始和结束时间,这可能与这个场景中的实际使用模式不一致。因此,在此场景中,使用按需实例进行开发和测试,使用保留实例进行生产是最佳选择。