Topic 1 Question 69
2 つ選択A developer is configuring an application's deployment environment in AWS CodePipeline. The application code is stored in a GitHub repository. The developer wants to ensure that the repository package's unit tests run in the new deployment environment. The developer has already set the pipeline's source provider to GitHub and has specified the repository and branch to use in the deployment.
Which combination of steps should the developer take next to meet these requirements with the LEAST overhead?
Create an AWS CodeCommit project. Add the repository package's build and test commands to the project's buildspec.
Create an AWS CodeBuild project. Add the repository package's build and test commands to the project's buildspec.
Create an AWS CodeDeploy project. Add the repository package's build and test commands to the project's buildspec.
Add an action to the source stage. Specify the newly created project as the action provider. Specify the build artifact as the action's input artifact.
Add a new stage to the pipeline after the source stage. Add an action to the new stage. Specify the newly created project as the action provider. Specify the source artifact as the action's input artifact.
ユーザの投票
コメント(3)
The correct answer is B and E The buildspec file is a collection of build commands and related settings, in YAML format, that CodeBuild uses to run a build. By adding the build and test commands to the buildspec file, the developer can ensure that these commands are executed as part of the build process. Option E will ensure that the CodeBuild project is triggered as part of the pipeline and that the unit tests are run in the new deployment environment.
👍 7MrTee2023/04/25- 正解だと思う選択肢: BE
As MrTee says.
👍 3aaok2023/05/08 - 正解だと思う選択肢: BE
For those who just skim the question, keyword between D and E is "unit tests run in the new deployment environment.", which signifies a new stage should be created instead of just adding an action.
👍 2imvb882023/05/24
シャッフルモード