SAP-C02 学习助手

SAP-C02 第 104 题

Config

题目

A company developed a pilot application by using AWS Elastic Beanstalk and Java. To save costs during development, the company's development team deployed the application into a single-instance environment. Recent tests indicate that the application consumes more CPU than expected. CPU utilization is regularly greater than 85%, which causes some performance bottlenecks. A solutions architect must mitigate the performance issues before the company launches the application to production. Which solution will meet these requirements with the LEAST operational overhead?

中文翻译:
一家公司使用 AWS Elastic Beanstalk 和 Java 开发了一个试点应用程序。为了节省开发成本,该公司的开发团队将应用程序部署到单实例环境中。最近的测试表明该应用程序消耗的 CPU 超出预期。 CPU 利用率通常大于 85%,这会导致一些性能瓶颈。在公司将应用程序投入生产之前,解决方案架构师必须缓解性能问题。哪种解决方案能够以最少的运营开销满足这些要求?

选项

A. Create a new Elastic Beanstalk application. Select a load-balanced environment type. Select all Availability Zones. Add a scale-out rule that will run if the maximum CPU utilization is over 85% for 5 minutes.

中文翻译:
创建新的 Elastic Beanstalk 应用程序。选择负载平衡的环境类型。选择所有可用区。添加一个横向扩展规则,如果最大 CPU 利用率超过 85% 持续 5 分钟,该规则将运行。

B. Create a second Elastic Beanstalk environment. Apply the traffic-splitting deployment policy. Specify a percentage of incoming traffic to direct to the new environment in the average CPU utilization is over 85% for 5 minutes.

中文翻译:
创建第二个 Elastic Beanstalk 环境。应用分流部署策略。指定在平均 CPU 利用率超过 85% 持续 5 分钟的情况下定向到新环境的传入流量的百分比。

C. Modify the existing environment’s capacity configuration to use a load-balanced environment type. Select all Availability Zones. Add a scale-out rule that will run if the average CPU utilization is over 85% for 5 minutes.

中文翻译:
修改现有环境的容量配置以使用负载平衡的环境类型。选择所有可用区。添加一个横向扩展规则,如果平均 CPU 利用率超过 85% 持续 5 分钟,该规则将运行。

D. Select the Rebuild environment action with the load balancing option. Select an Availability Zones. Add a scale-out rule that will run if the sum CPU utilization is over 85% for 5 minutes.

中文翻译:
选择带有负载平衡选项的重建环境操作。选择可用区。添加一个横向扩展规则,如果 CPU 利用率总和超过 85% 持续 5 分钟,该规则将运行。

答案

C

解析

正确答案:C 解析: 本题应选择 C。 正确选项: C. 修改现有环境的容量配置以使用负载平衡的环境类型。选择所有可用区。添加一个横向扩展规则,如果平均 CPU 利用率超过 85% 持续 5 分钟,该规则将运行。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关考点主要包括:Conf...

登录后查看完整解析