QuestionQ51

VerifiedSDLC Automation

A company uses AWS CodePipeline pipelines to automate releases of its application. A typical pipeline has three stages: build, test, and deployment. The company has been using a separate AWS CodeBuild project to run scripts for each stage. However, the company now wants to use AWS CodeDeploy for the deployment stage of the pipelines.

The company has packaged the application as an RPM package and must deploy it to a fleet of Amazon EC2 instances. The EC2 instances are in an EC2 Auto Scaling group and launch from a common AMI.

Which combination of steps should a DevOps engineer take to meet these requirements?

Choose two
Explanation

For CodeDeploy deployments to Amazon EC2 instances, the CodeDeploy agent must be installed and running, and the instances require an IAM instance profile. A CodeDeploy in-place deployment group can target an Amazon EC2 Auto Scaling group, and the CodeDeploy action in CodePipeline deploys the application revision to that fleet.

Learn more

Community Discussion

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