ExamQuestions.com

Register
Login
AWS Certified Solutions Architect Professional Exam Questions

Amazon

AWS Certified Solutions Architect Professional

23 / 465

Question 23:

A developer is trying to get a new DevOps role and preparing for a technical task for the interview. The requirement is that a simple pipeline should be built up within 1 week for a RESTful web service that contains several endpoints. For the pipeline, he decides to use AWS CodePipeline. For the application, he wants to use T2 Micro EC2 instances as they belong to free tier. In order to show a breadth of skills, he would like to use certain orchestration tool such as OpsWorks or CloudFormation to deploy the App. He has used Chef for some open source projects before. What below option is the best for him to do in a short time?

Answer options:

A.Use OpsWorks to hook up CodePipeline in the build stage. The artifacts can be put in an S3 bucket, and OpsWorks will use the newest code in S3 to deploy the applications.
B.Firstly, configure an OpsWorks stack, layer and instance. Secondly, in CodePipeline, choose an S3 bucket as the source which can be a zip file for the app and set up the existing OpsWorks stack as the deployment provider. Then the app can be deployed to your stack automatically.
C.As CodePipeline does not support OpsWorks, CloudFormation template must build up EC2 instance with ELB and Autoscaling. Configure CodePipeline to select CloudFormation as a deployment target in the deploy stage of the pipeline.
D.For CodePipeline, configure an S3 bucket as the source provider and configure the OpsWorks as the deployment provider. Then OpsWorks can create stack/layers and deploy APPs using artifacts in S3.