SAP-C02 第 262 题
题目
A company wants to manage the costs associated with a group of 20 applications that are infrequently used, but are still business- critical, by migrating to AWS. The applications are a mix of Java and Node.js spread across different instance clusters. The company wants to minimize costs while standardizing by using a single deployment methodology. Most of the applications are part of month-end processing routines with a small number of concurrent users, but they are occasionally run at other times. Average application memory consumption is less than 1 GB. though some applications use as much as 2.5 GB of memory during peak processing. The most important application in the group is a billing report written in Java that accesses multiple data sources and often runs for several hours. Which is the MOST cost-effective solution?
中文翻译:
一家公司希望通过迁移到 AWS 来管理与 20 个不常用但仍对业务至关重要的应用程序组相关的成本。这些应用程序是 Java 和 Node.js 的混合体,分布在不同的实例集群中。该公司希望通过使用单一部署方法来实现标准化,同时最大限度地降低成本。大多数应用程序是具有少量并发用户的月末处理例程的一部分,但它们偶尔会在其他时间运行。平均应用程序内存消耗小于 1 GB。尽管某些应用程序在高峰处理期间使用多达 2.5 GB 的内存。该组中最重要的应用程序是用 Java 编写的计费报告,它访问多个数据源并且通常运行几个小时。哪个是最具成本效益的解决方案?
选项
A. Deploy a separate AWS Lambda function for each application. Use AWS CloudTrail logs and Amazon CloudWatch alarms to verify completion of critical jobs.
中文翻译:
为每个应用程序部署单独的 AWS Lambda 函数。使用 AWS CloudTrail 日志和 Amazon CloudWatch 警报来验证关键作业的完成情况。
B. Deploy Amazon ECS containers on Amazon EC2 with Auto Scaling configured for memory utilization of 75%. Deploy an ECS task for each application being migrated with ECS task scaling. Monitor services and hosts by using Amazon CloudWatch.
中文翻译:
在 Amazon EC2 上部署 Amazon ECS 容器,并将 Auto Scaling 配置为内存利用率为 75%。为通过 ECS 任务扩展迁移的每个应用程序部署一个 ECS 任务。使用 Amazon CloudWatch 监控服务和主机。
C. Deploy AWS Elastic Beanstalk for each application with Auto Scaling to ensure that all requests have sufficient resources. Monitor each AWS Elastic Beanstalk deployment by using CloudWatch alarms.
中文翻译:
使用 Auto Scaling 为每个应用程序部署 AWS Elastic Beanstalk,以确保所有请求都有足够的资源。使用 CloudWatch 警报监控每个 AWS Elastic Beanstalk 部署。
D. Deploy a new Amazon EC2 instance cluster that co-hosts all applications by using EC2 Auto Scaling and Application Load Balancers. Scale cluster size based on a custom metric set on instance memory utilization. Purchase 3-year Reserved Instance reservations equal to the GroupMaxSize parameter of the Auto Scaling group.
中文翻译:
使用 EC2 Auto Scaling 和 Application Load Balancer 部署一个新的 Amazon EC2 实例集群,该集群共同托管所有应用程序。根据实例内存利用率设置的自定义指标来扩展集群大小。购买等于 Auto Scaling 组的 GroupMaxSize 参数的 3 年预留实例预留。
答案
B
解析
正确答案:B 解析: 本题应选择 B。 正确选项: B. 在 Amazon EC2 上部署 Amazon ECS 容器,并将 Auto Scaling 配置为内存利用率为 75%。为通过 ECS 任务扩展迁移的每个应用程序部署一个 ECS 任务。使用 Amazon CloudWatch 监控服务和主机。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成...