SAP-C02 第 271 题
题目
A company wants to refactor its retail ordering web application that currently has a load-balanced Amazon EC2 instance fleet for web hosting, database API services, and business logic. The company needs to create a decoupled, scalable architecture with a mechanism for retaining failed orders while also minimizing operational costs. Which solution will meet these requirements?
中文翻译:
一家公司希望重构其零售订购 Web 应用程序,该应用程序当前拥有用于 Web 托管、数据库 API 服务和业务逻辑的负载平衡 Amazon EC2 实例队列。该公司需要创建一个解耦、可扩展的架构,并具有保留失败订单的机制,同时最大限度地降低运营成本。哪种解决方案可以满足这些要求?
选项
A. Use Amazon S3 for web hosting with Amazon API Gateway for database API services. Use Amazon Simple Queue Service (Amazon SQS) for order queuing. Use Amazon Elastic Container Service (Amazon ECS) for business logic with Amazon SQS long polling for retaining failed orders.
中文翻译:
使用 Amazon S3 进行 Web 托管,使用 Amazon API Gateway 进行数据库 API 服务。使用 Amazon Simple Queue Service (Amazon SQS) 进行订单排队。使用 Amazon Elastic Container Service (Amazon ECS) 实现业务逻辑,并通过 Amazon SQS 长轮询保留失败的订单。
B. Use AWS Elastic Beanstalk for web hosting with Amazon API Gateway for database API services. Use Amazon MQ for order queuing. Use AWS Step Functions for business logic with Amazon S3 Glacier Deep Archive for retaining failed orders.
中文翻译:
使用 AWS Elastic Beanstalk 进行 Web 托管,并使用 Amazon API Gateway 进行数据库 API 服务。使用 Amazon MQ 进行订单排队。使用 AWS Step Functions 实现业务逻辑,并使用 Amazon S3 Glacier Deep Archive 来保留失败的订单。
C. Use Amazon S3 for web hosting with AWS AppSync for database API services. Use Amazon Simple Queue Service (Amazon SQS) for order queuing. Use AWS Lambda for business logic with an Amazon SQS dead-letter queue for retaining failed orders.
中文翻译:
使用 Amazon S3 进行 Web 托管,使用 AWS AppSync 进行数据库 API 服务。使用 Amazon Simple Queue Service (Amazon SQS) 进行订单排队。使用 AWS Lambda 实现业务逻辑,并使用 Amazon SQS 死信队列来保留失败的订单。
D. Use Amazon Lightsail for web hosting with AWS AppSync for database API services. Use Amazon Simple Email Service (Amazon SES) for order queuing. Use Amazon Elastic Kubernetes Service (Amazon EKS) for business logic with Amazon OpenSearch Service for retaining failed orders.
中文翻译:
使用 Amazon Lightsail 进行 Web 托管,使用 AWS AppSync 进行数据库 API 服务。使用 Amazon Simple Email Service (Amazon SES) 进行订单排队。使用 Amazon Elastic Kubernetes Service (Amazon EKS) 实现业务逻辑,并使用 Amazon OpenSearch Service 保留失败的订单。
答案
C
解析
正确答案:C 解析: 本题应选择 C。 正确选项: C. 使用 Amazon S3 进行 Web 托管,使用 AWS AppSync 进行数据库 API 服务。使用 Amazon Simple Queue Service (Amazon SQS) 进行订单排队。使用 AWS Lambda 实现业务逻辑,并使用 Amazon SQS 死信队列来保留失败的订单。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需...