A company observes an increase in Amazon EC2 costs in its most recent bill. The billing team notices unwanted vertical scaling of instance types for a couple of EC2 instances. A solutions architect needs to create a graph comparing the last 2 months of EC2 costs and perform an in-depth analysis to identify the root cause of the vertical scaling.
How should the solutions architect generate the information with the LEAST operational overhead?
A. Use AWS Budgets to create a budget report and compare EC2 costs based on instance types.
B. Use Cost Explorer's granular filtering feature to perform an in-depth analysis of EC2 costs based on instance types.
C. Use graphs from the AWS Billing and Cost Management dashboard to compare EC2 costs based on instance types for the last 2 months.
D. Use AWS Cost and Usage Reports to create a report and send it to an Amazon S3 bucket. Use Amazon QuickSight with Amazon S3 as a source to generate an interactive graph based on instance types.
B
技巧:排除明显错误选项,在没有明显错误的选项中选择最合理的选项。
一家公司在最近的账单中观察到亚马逊 EC2 成本的增加。计费团队注意到,一些 EC2 实例的实例类型不需要垂直扩展。解决方案架构师需要以最低运维开销的方式,创建一个图表,比较过去 2 个月的 EC2 成本,并进行深入分析,以确定垂直扩展导致成本增加的根本原因。
A. 不正确。使用 AWS Budgets 创建预算报告并比较 EC2 成本(按实例类型)。AWS Budgets 用于设置预算阈值和监控支出,但主要功能是预警和预算跟踪,而非深入分析。可以按服务(如 EC2)或实例类型生成报告,但报告功能有限,无法直接生成对比图表,无法深入分析垂直扩展的具体原因(如哪些实例被升级、何时升级)。
B. 正确。使用 Cost Explorer 的细粒度过滤功能深入分析 EC2 成本(按实例类型)。Cost Explorer 是 AWS 原生的成本分析工具,支持按服务(如 EC2)、实例类型、标签等维度筛选成本,可以直接生成时间序列图表(如过去 2 个月的成本对比)。也可以通过筛选实例类型的变化(如从 t3.medium 升级到 t3.xlarge),观察成本变化,深入分析垂直扩展,同时支持导出数据到 CSV 或直接生成可视化图表。使用 AWS Budget 无需额外配置,可以直接在 AWS 控制台操作,无需外部工具,运维开销最低。
C. 不正确。使用 AWS Billing and Cost Management 仪表板的图表比较 EC2 成本(按实例类型)。AWS Billing and Cost Management 仪表板提供基本的成本视图,但功能有限,无法按实例类型筛选或生成对比图表。主要用于查看总成本或按服务分类,不适合深入分析。
D. 不正确。使用 AWS Cost and Usage Reports + Amazon QuickSight 生成交互式图表。AWS Cost and Usage Reports 生成详细的成本和使用情况报告,存储到 S3 桶,Amazon QuickSight 基于 S3 中的报告数据生成交互式图表。存在的问题是,需配置 Cost and Usage Reports(定义报告格式、存储位置),需配置 QuickSight(连接 S3、设计仪表板),方案过于复杂,运维开销不是最低。