SAP-C02 学习助手

SAP-C02 第 330 题

API Gateway Lambda DynamoDB EC2 Aurora

题目

A company has developed a mobile game. The backend for the game runs on several virtual machines located in an on-premises data center. The business logic is exposed using a REST API with multiple functions. Player session data is stored in central file storage. Backend services use different API keys for throttling and to distinguish between live and test traffic. The load on the game backend varies throughout the day. During peak hours, the server capacity is not sufficient. There are also latency issues when fetching player session data. Management has asked a solutions architect to present a cloud architecture that can handle the game’s varying load and provide low-latency data access. The API model should not be changed. Which solution meets these requirements?

中文翻译:
一家公司开发了一款手机游戏。游戏的后端在位于本地数据中心的多个虚拟机上运行。业务逻辑使用具有多种功能的 REST API 公开。玩家会话数据存储在中央文件存储中。后端服务使用不同的 API 密钥进行限制并区分实时流量和测试流量。游戏后端的负载全天都在变化。高峰时段,服务器容量不足。获取玩家会话数据时也存在延迟问题。管理层要求解决方案架构师提供一个云架构,该架构可以处理游戏的变化负载并提供低延迟的数据访问。 API 模型不应更改。哪种解决方案满足这些要求?

选项

A. Implement the REST API using a Network Load Balancer (NLB). Run the business logic on an Amazon EC2 instance behind the NLB. Store player session data in Amazon Aurora Serverless.

中文翻译:
使用网络负载均衡器 (NLB) 实施 REST API。在 NLB 后面的 Amazon EC2 实例上运行业务逻辑。将玩家会话数据存储在 Amazon Aurora Serverless 中。

B. Implement the REST API using an Application Load Balancer (ALB). Run the business logic in AWS Lambda. Store player session data in Amazon DynamoDB with on-demand capacity.

中文翻译:
使用应用程序负载均衡器 (ALB) 实施 REST API。在 AWS Lambda 中运行业务逻辑。将玩家会话数据存储在具有按需容量的 Amazon DynamoDB 中。

C. Implement the REST API using Amazon API Gateway. Run the business logic in AWS Lambda. Store player session data in Amazon DynamoDB with on-demand capacity.

中文翻译:
使用 Amazon API Gateway 实施 REST API。在 AWS Lambda 中运行业务逻辑。将玩家会话数据存储在具有按需容量的 Amazon DynamoDB 中。

D. Implement the REST API using AWS AppSync. Run the business logic in AWS Lambda. Store player session data in Amazon Aurora Serverless.

中文翻译:
使用 AWS AppSync 实施 REST API。在 AWS Lambda 中运行业务逻辑。将玩家会话数据存储在 Amazon Aurora Serverless 中。

答案

C

解析

正确答案:C 解析: 本题应选择 C。 正确选项: C. 使用 Amazon API Gateway 实施 REST API。在 AWS Lambda 中运行业务逻辑。将玩家会话数据存储在具有按需容量的 Amazon DynamoDB 中。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本...

登录后查看完整解析