ExamQuestions.com

Register
Login
AWS Certified DevOps Engineer Professional Exam Questions

Amazon

AWS Certified DevOps Engineer Professional

423 / 500

Question 423:

An IT consulting company starts to use CodePipeline to help manage its development lifecycle since AWS CodePipeline is a great DevOps service. They hope that starting from CodeCommit, the pipeline is able to build the code, test the artifact and deploy the build automatically. They heard that CodePipeline is also very convenient to work together with Jenkins so they decided to use Jenkins as a build provider. Another reason is that they already have very strong experiences on Jenkins for their on-premise applications. Which of the following options is correct on how to use the CodePipeline together with Jenkins?

Answer options:

A.Setup CodePipeline in one region and setup CodeCommit and Amazon EC2 instance key pair in another region. This is to address some safety concerns. Then create a new CodePipeline with 4 stages. In the build stage, choose “Add Jenkins” and configure correct “Provider name” and “Server URL”.
B.Make sure that all of the AWS resources for this procedure are created in the same AWS Region where you create your pipeline. Then create a new CodePipeline with 4 mandatory stages which are “Source Stage”, “Jenkins Stage”, “Test Stage” and “Deploy Stage”.
C.Launch an Amazon EC2 instance to host the Jenkins server and using a Secret Access Key/Access Key ID to grant the instance the required permissions for interacting with AWS CodePipeline. For the new CodePipeline configuration, make sure that Jenkins is selected as the build server in the build stage. The “Server URL” should match that in the Jenkins server however the “Provider name” can be anything.
D.Launch an Amazon EC2 instance to host the Jenkins server and use an IAM role to grant the instance the required permissions for interacting with AWS CodePipeline. Then create a new CodePipeline. In the build stage, choose “Add Jenkins” and configure correct “Provider name” and “Server URL”.