Question 301:
You were assigned a new task to create a pipeline in AWS CodePipeline service for a new Android App. In the pipeline, the source stage is GitHub and the build stage uses CodeBuild to build the App. During the build stage, it uses a buildspec file to generate artifacts which are stored in a S3 bucket. Another stage needs to be added in order to test the new version of App in AWS Device Farm. A test project in AWS Device Farm was already created by QA team. How should you configure this new stage in AWS CodePipeline?
Answer options:
A.Add a new deploy stage and add AWS CloudFormation as the action provider. The CloudFormation stack will create and initiate the AWS Device Farm project. B.Add a new test stage and add AWS Device Farm as the action provider. Configure the AWS Device Farm project ID and device pool ARN in the stage. C.Add a new stage and add an action provider using Lambda function. The Lambda function is responsible to trigger the AWS Device Farm project. D.Add a new stage and add an SNS topic as the action provider. The SNS topic will trigger the AWS Device Farm project to execute the test.