SAP-C02 学习助手

SAP-C02 第 152 题

EC2 RDS EKS Fargate

题目

A company is running an event ticketing platform on AWS and wants to optimize the platform's cost-effectiveness. The platform is deployed on Amazon Elastic Kubernetes Service (Amazon EKS) with Amazon EC2 and is backed by an Amazon RDS for MySQL DB instance. The company is developing new application features to run on Amazon EKS with AWS Fargate. The platform experiences infrequent high peaks in demand. The surges in demand depend on event dates. Which solution will provide the MOST cost-effective setup for the platform?

中文翻译:
一家公司正在 AWS 上运行一个活动票务平台,并希望优化该平台的成本效益。该平台部署在带有 Amazon EC2 的 Amazon Elastic Kubernetes Service (Amazon EKS) 上,并由 Amazon RDS for MySQL 数据库实例提供支持。该公司正在开发新的应用程序功能,以便通过 AWS Fargate 在 Amazon EKS 上运行。该平台很少出现需求高峰。需求的激增取决于活动日期。哪种解决方案将为平台提供最具成本效益的设置?

选项

A. Purchase Standard Reserved Instances for the EC2 instances that the EKS cluster uses in its baseline load. Scale the cluster with Spot Instances to handle peaks. Purchase 1-year All Upfront Reserved Instances for the database to meet predicted peak load for the year.

中文翻译:
为 EKS 集群在其基准负载中使用的 EC2 实例购买标准预留实例。使用 Spot 实例扩展集群以应对峰值。为数据库购买 1 年期的预付预留实例,以满足当年的预测峰值负载。

B. Purchase Compute Savings Plans for the predicted medium load of the EKS cluster. Scale the cluster with On-Demand Capacity Reservations based on event dates for peaks. Purchase 1-year No Upfront Reserved Instances for the database to meet the predicted base load. Temporarily scale out database read replicas during peaks.

中文翻译:
针对 EKS 集群的预测中等负载购买计算节省计划。根据高峰事件日期,通过按需容量预留来扩展集群。为数据库购买 1 年期无预付费用预留实例以满足预测的基本负载。在高峰期间临时横向扩展数据库只读副本。

C. Purchase EC2 Instance Savings Plans for the predicted base load of the EKS cluster. Scale the cluster with Spot Instances to handle peaks. Purchase 1-year All Upfront Reserved Instances for the database to meet the predicted base load. Temporarily scale up the DB instance manually during peaks.

中文翻译:
针对 EKS 集群的预测基本负载购买 EC2 实例节省计划。使用 Spot 实例扩展集群以应对峰值。为数据库购买 1 年期的预付预留实例以满足预测的基本负载。在高峰期临时手动扩容实例。

D. Purchase Compute Savings Plans for the predicted base load of the EKS cluster. Scale the cluster with Spot Instances to handle peaks. Purchase 1-year All Upfront Reserved Instances for the database to meet the predicted base load. Temporarily scale up the DB instance manually during peaks.

中文翻译:
为 EKS 集群的预测基本负载购买计算节省计划。使用 Spot 实例扩展集群以应对峰值。为数据库购买 1 年期的预付预留实例以满足预测的基本负载。在高峰期临时手动扩容实例。

答案

D

解析

正确答案:D 解析: 本题应选择 D。 正确选项: D. 为 EKS 集群的预测基本负载购买计算节省计划。使用 Spot 实例扩展集群以应对峰值。为数据库购买 1 年期的预付预留实例以满足预测的基本负载。在高峰期临时手动扩容实例。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关考点...

登录后查看完整解析