SAP-C02 第 4 题
题目
A company is running a two-tier web-based application in an on-premises data center. The application layer consists of a single server running a stateful application. The application connects to a PostgreSQL database running on a separate server. The application’s user base is expected to grow significantly, so the company is migrating the application and database to AWS. The solution will use Amazon Aurora PostgreSQL, Amazon EC2 Auto Scaling, and Elastic Load Balancing. Which solution will provide a consistent user experience that will allow the application and database tiers to scale?
中文翻译:
一家公司正在本地数据中心运行基于 Web 的两层应用程序。应用程序层由运行有状态应用程序的单个服务器组成。该应用程序连接到在单独服务器上运行的 PostgreSQL 数据库。该应用程序的用户群预计将大幅增长,因此该公司正在将应用程序和数据库迁移到 AWS。该解决方案将使用 Amazon Aurora PostgreSQL、Amazon EC2 Auto Scaling 和 Elastic Load Balancing。哪种解决方案将提供一致的用户体验,从而允许应用程序和数据库层扩展?
选项
A. Enable Aurora Auto Scaling for Aurora Replicas. Use a Network Load Balancer with the least outstanding requests routing algorithm and sticky sessions enabled.
中文翻译:
为 Aurora 副本启用 Aurora Auto Scaling。使用网络负载均衡器,并启用最少未完成请求路由算法和粘性会话。
B. Enable Aurora Auto Scaling for Aurora writers. Use an Application Load Balancer with the round robin routing algorithm and sticky sessions enabled.
中文翻译:
为 Aurora 编写器启用 Aurora Auto Scaling。使用启用了循环路由算法和粘性会话的应用程序负载均衡器。
C. Enable Aurora Auto Scaling for Aurora Replicas. Use an Application Load Balancer with the round robin routing and sticky sessions enabled.
中文翻译:
为 Aurora 副本启用 Aurora Auto Scaling。使用启用了循环路由和粘性会话的应用程序负载均衡器。
D. Enable Aurora Scaling for Aurora writers. Use a Network Load Balancer with the least outstanding requests routing algorithm and sticky sessions enabled.
中文翻译:
为 Aurora writer 启用 Aurora Scaling。使用网络负载均衡器,并启用最少未完成请求路由算法和粘性会话。
答案
C
解析
正确答案:C 解析: 本题应选择 C。 正确选项: C. 为 Aurora 副本启用 Aurora Auto Scaling。使用启用了循环路由和粘性会话的应用程序负载均衡器。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关考点主要包括:EC2、Aurora、Auto Scalin...