QuestionQ70

VerifiedSDLC Automation

A company uses AWS CodePipeline pipelines to automate application releases. A typical pipeline has three stages: build, test, and deployment. The company has used a separate AWS CodeBuild project to run scripts for each stage. However, it now wants AWS CodeDeploy to manage 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 are launched from a common AMI.

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

Choose two
Explanation

Amazon EC2 instances used as CodeDeploy targets require the CodeDeploy agent and an IAM instance profile that permits the agent to access the application revision. Installing the agent in the common AMI makes it available on instances launched by the Auto Scaling group. A CodeDeploy deployment group can identify targets by Auto Scaling group, and the AWS CodeDeploy deploy action in CodePipeline deploys the pipeline input artifact to the configured CodeDeploy application and deployment group.

Learn more

Community Discussion

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