nerdexam
Amazon

DOP-C02 · Question #50

A company uses AWS CodePipeline pipelines to automate releases of its application A typical pipeline consists of three stages build, test, and deployment. The company has been using a separate AWS…

The correct answer is A. Create a new version of the common AMI with the CodeDeploy agent installed. Update the IAM D. Create an application in CodeDeploy. Configure an in-place deployment type. Specify the Auto. https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html

Submitted by rachelw· Mar 6, 2026SDLC Automation

Question

A company uses AWS CodePipeline pipelines to automate releases of its application A typical pipeline consists of 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 to handle the deployment stage of the pipelines. The company has packaged the application as an RPM package and must deploy the application 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 perform to meet these requirements? (Choose two.)

Options

  • ACreate a new version of the common AMI with the CodeDeploy agent installed. Update the IAM
  • BCreate a new version of the common AMI with the CodeDeploy agent installed. Create an
  • CCreate an application in CodeDeploy. Configure an in-place deployment type. Specify the Auto
  • DCreate an application in CodeDeploy. Configure an in-place deployment type. Specify the Auto
  • ECreate an application in CodeDeploy. Configure an in-place deployment type. Specify the EC2

How the community answered

(32 responses)
  • A
    78% (25)
  • B
    13% (4)
  • C
    3% (1)
  • E
    6% (2)

Explanation

https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html

Topics

#CodeDeploy#CodePipeline#EC2 Auto Scaling#Deployment agent#IAM roles

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice