LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
AWS Certified DevOps Engineer - Professional

AWS Certified DevOps Engineer - Professional

Get started today

Ultimate access to all questions.


A company is utilizing AWS CodePipeline for automating their application's release process, which includes three stages: build, test, and deployment. Historically, they have employed separate AWS CodeBuild projects to execute scripts for each stage. Now, they aim to incorporate AWS CodeDeploy into the deployment stage. The application is packaged as an RPM and must be deployed across a fleet of Amazon EC2 instances managed by an Auto Scaling group, all launched from a single AMI. What steps should a DevOps engineer undertake to successfully integrate CodeDeploy into the deployment phase of the pipeline?

Exam-Like




Explanation:

To integrate AWS CodeDeploy into the deployment stage of the pipeline, the DevOps engineer should (1) create a new version of the common AMI with the CodeDeploy agent installed and update the IAM role of the EC2 instances to ensure that they have the necessary permissions to interact with CodeDeploy (Option A), and (2) create an application in CodeDeploy, configure it for in-place deployment type, specify the Auto Scaling group as the deployment target, and update the CodePipeline pipeline to use the CodeDeploy action for deployment (Option D). These steps ensure the proper setup and integration of CodeDeploy within the existing infrastructure and deployment pipeline.

Powered ByGPT-5