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、設計儀表板),方案過于復雜,運維開銷不是最低。