QuestionQ82

VerifiedSDLC Automation

A company operates an application on Amazon EC2 instances. The company uses a series of AWS CloudFormation stacks to define the application resources. A developer makes updates by building and testing the application on a laptop, then uploading the build output and CloudFormation stack templates to Amazon S3. The developer’s peers review the changes before the developer updates the CloudFormation stacks and installs a new application version on the EC2 instances.

The deployment process is error-prone and time-consuming because the developer updates every EC2 instance with the new application. The company wants to automate as much of the application deployment process as possible while retaining a final manual approval step before any application or resource modification.

The company has already moved the application source code and CloudFormation templates to AWS CodeCommit. The company has also created an AWS CodeBuild project to build and test the application.

Which combination of steps will meet the company’s requirements?

Choose two
Explanation

For Amazon EC2 deployments, AWS CodeDeploy uses an application and a deployment group to target instances, which require the CodeDeploy agent. AWS CodePipeline can build with CodeBuild, create CloudFormation change sets so proposed resource modifications can be reviewed without changing the stacks, pause at a manual approval action, and, upon approval, execute the change sets and initiate the CodeDeploy deployment.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!