Ultimate access to all questions.
In AWS CodePipeline, a developer is setting up an application deployment with code from a GitHub repository. To ensure unit tests run in the new environment, which steps should be taken with minimal overhead? (Choose two.)
Explanation:
The correct options are B and E. Option B, which involves creating an AWS CodeBuild project and adding the repository package's build and test commands to the project's buildspec, is essential for ensuring the tests are executed as part of the build process. Option E, which calls for adding a new stage to the pipeline specifically for building and testing the code and specifying the AWS CodeBuild project as the action provider, ensures that the unit tests are run in the new deployment environment. This setup provides a clear separation of stages in the pipeline, thus meeting the requirement with the least overhead.