SAP-C02 学习助手

SAP-C02 第 60 题

Route 53 Lambda EC2 Config ECS

题目

A company built an application based on AWS Lambda deployed in an AWS CloudFormation stack. The last production release of the web application introduced an issue that resulted in an outage lasting several minutes. A solutions architect must adjust the deployment process to support a canary release. Which solution will meet these requirements?

中文翻译:
一家公司基于部署在 AWS CloudFormation 堆栈中的 AWS Lambda 构建了一个应用程序。 Web 应用程序的最后一个生产版本引入了一个问题,导致持续几分钟的中断。解决方案架构师必须调整部署流程以支持金丝雀版本。哪种解决方案可以满足这些要求?

选项

A. Create an alias for every new deployed version of the Lambda function. Use the AWS CLI update-alias command with the routing-config parameter to distribute the load.

中文翻译:
为 Lambda 函数的每个新部署版本创建一个别名。使用带有routing-config 参数的AWS CLI update-alias 命令来分配负载。

B. Deploy the application into a new CloudFormation stack. Use an Amazon Route 53 weighted routing policy to distribute the load.

中文翻译:
将应用程序部署到新的 CloudFormation 堆栈中。使用 Amazon Route 53 加权路由策略来分配负载。

C. Create a version for every new deployed Lambda function. Use the AWS CLI update-function-configuration command with the routing-config parameter to distribute the load.

中文翻译:
为每个新部署的 Lambda 函数创建一个版本。使用带有routing-config 参数的 AWS CLI update-function-configuration 命令来分配负载。

D. Configure AWS CodeDeploy and use CodeDeployDefault.OneAtATime in the Deployment configuration to distribute the load.

中文翻译:
配置 AWS CodeDeploy 并在部署配置中使用 CodeDeployDefault.OneAtATime 来分配负载。

答案

A

解析

正确答案:A 解析: 本题应选择 A。 正确选项: A. 为 Lambda 函数的每个新部署版本创建一个别名。使用带有routing-config 参数的AWS CLI update-alias 命令来分配负载。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关考点主要包括:Rout...

登录后查看完整解析