SAP-C02 第 363 题
题目
A company’s CISO has asked a solutions architect to re-engineer the company's current CI/CD practices to make sure patch deployments to its application can happen as quickly as possible with minimal downtime if vulnerabilities are discovered. The company must also be able to quickly roll back a change in case of errors. The web application is deployed in a fleet of Amazon EC2 instances behind an Application Load Balancer. The company is currently using GitHub to host the application source code, and has configured an AWS CodeBuild project to build the application. The company also intends to use AWS CodePipeline to trigger builds from GitHub commits using the existing CodeBuild project. What CI/CD configuration meets all of the requirements?
中文翻译:
一家公司的 CISO 要求解决方案架构师重新设计该公司当前的 CI/CD 实践,以确保在发现漏洞时能够尽快对其应用程序进行补丁部署,同时将停机时间降至最低。公司还必须能够在出现错误时快速回滚更改。 Web 应用程序部署在应用程序负载均衡器后面的一组 Amazon EC2 实例中。该公司目前使用 GitHub 托管应用程序源代码,并配置了 AWS CodeBuild 项目来构建应用程序。该公司还打算使用 AWS CodePipeline 来触发使用现有 CodeBuild 项目的 GitHub 提交的构建。什么样的 CI/CD 配置可以满足所有要求?
选项
A. Configure CodePipeline with a deploy stage using AWS CodeDeploy configured for in-place deployment. Monitor the newly deployed code, and, if there are any issues, push another code update
中文翻译:
使用配置为就地部署的 AWS CodeDeploy 通过部署阶段配置 CodePipeline。监控新部署的代码,如果有任何问题,推送另一个代码更新
B. Configure CodePipeline with a deploy stage using AWS CodeDeploy configured for blue/green deployments. Monitor the newly deployed code, and, if there are any issues, trigger a manual rollback using CodeDeploy.
中文翻译:
使用为蓝/绿部署配置的 AWS CodeDeploy 通过部署阶段配置 CodePipeline。监视新部署的代码,如果存在任何问题,请使用 CodeDeploy 触发手动回滚。
C. Configure CodePipeline with a deploy stage using AWS CloudFormation to create a pipeline for test and production stacks. Monitor the newly deployed code, and, if there are any issues, push another code update.
中文翻译:
使用 AWS CloudFormation 配置 CodePipeline 的部署阶段,为测试和生产堆栈创建管道。监视新部署的代码,如果存在任何问题,则推送另一个代码更新。
D. Configure the CodePipeline with a deploy stage using AWS OpsWorks and in-place deployments. Monitor the newly deployed code, and, if there are any issues, push another code update.
中文翻译:
使用 AWS OpsWorks 和就地部署通过部署阶段配置 CodePipeline。监视新部署的代码,如果存在任何问题,则推送另一个代码更新。
答案
B
解析
正确答案:B 解析: 本题应选择 B。 正确选项: B. 使用为蓝/绿部署配置的 AWS CodeDeploy 通过部署阶段配置 CodePipeline。监视新部署的代码,如果存在任何问题,请使用 CodeDeploy 触发手动回滚。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相...