SAP-C02 学习助手

SAP-C02 第 415 题

EBS SNS Config

题目

A startup company recently migrated a large ecommerce website to AWS. The website has experienced a 70% increase in sales. Software engineers are using a private GitHub repository to manage code. The DevOps team is using Jenkins for builds and unit testing. The engineers need to receive notifications for bad builds and zero downtime during deployments. The engineers also need to ensure any changes to production are seamless for users and can be rolled back in the event of a major issue. The software engineers have decided to use AWS CodePipeline to manage their build and deployment process. Which solution will meet these requirements?

中文翻译:
一家初创公司最近将一个大型电子商务网站迁移到 AWS。该网站的销售额增长了 70%。软件工程师正在使用私有 GitHub 存储库来管理代码。 DevOps 团队正在使用 Jenkins 进行构建和单元测试。工程师需要在部署过程中收到不良构建和零停机的通知。工程师还需要确保对用户的任何生产更改都是无缝的,并且在出现重大问题时可以回滚。软件工程师决定使用 AWS CodePipeline 来管理他们的构建和部署过程。哪种解决方案可以满足这些要求?

选项

A. Use GitHub websockets to trigger the CodePipeline pipeline. Use the Jenkins plugin for AWS CodeBuild to conduct unit testing. Send alerts to an Amazon SNS topic for any bad builds. Deploy in an in-place, all-at-once deployment configuration using AWS CodeDeploy.

中文翻译:
使用 GitHub websockets 触发 CodePipeline 管道。使用 AWS CodeBuild 的 Jenkins 插件进行单元测试。针对任何不良构建向 Amazon SNS 主题发送警报。使用 AWS CodeDeploy 在就地一次性部署配置中进行部署。

B. Use GitHub webhooks to trigger the CodePipeline pipeline. Use the Jenkins plugin for AWS CodeBuild to conduct unit testing. Send alerts to an Amazon SNS topic for any bad builds. Deploy in a blue/green deployment using AWS CodeDeploy.

中文翻译:
使用 GitHub webhooks 触发 CodePipeline 管道。使用 AWS CodeBuild 的 Jenkins 插件进行单元测试。针对任何不良构建向 Amazon SNS 主题发送警报。使用 AWS CodeDeploy 在蓝/绿部署中进行部署。

C. Use GitHub websockets to trigger the CodePipeline pipeline. Use AWS X-Ray for unit testing and static code analysis. Send alerts to an Amazon SNS topic for any bad builds. Deploy in a blue/green deployment using AWS CodeDeploy.

中文翻译:
使用 GitHub websockets 触发 CodePipeline 管道。使用 AWS X-Ray 进行单元测试和静态代码分析。针对任何不良构建向 Amazon SNS 主题发送警报。使用 AWS CodeDeploy 在蓝/绿部署中进行部署。

D. Use GitHub webhooks to trigger the CodePipeline pipeline. Use AWS X-Ray for unit testing and static code analysis. Send alerts to an Amazon SNS topic for any bad builds. Deploy in an in-place, all-at-once deployment configuration using AWS CodeDeploy.

中文翻译:
使用 GitHub webhooks 触发 CodePipeline 管道。使用 AWS X-Ray 进行单元测试和静态代码分析。针对任何不良构建向 Amazon SNS 主题发送警报。使用 AWS CodeDeploy 在就地一次性部署配置中进行部署。

答案

B

解析

正确答案:B 解析: 本题应选择 B。 正确选项: B. 使用 GitHub webhooks 触发 CodePipeline 管道。使用 AWS CodeBuild 的 Jenkins 插件进行单元测试。针对任何不良构建向 Amazon SNS 主题发送警报。使用 AWS CodeDeploy 在蓝/绿部署中进行部署。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能...

登录后查看完整解析