AWS Certified Solutions Architect – Professional — Question 142

A company is currently using AWS CodeCommit for its source control and AWS CodePipeline for continuous integration. The pipeline has a build stage for building the artifacts, which is then staged in an Amazon S3 bucket.
The company has identified various improvement opportunities in the existing process, and a Solutions Architect has been given the following requirements:
✑ Create a new pipeline to support feature development
✑ Support feature development without impacting production applications
✑ Incorporate continuous testing with unit tests
✑ Isolate development and production artifacts
✑ Support the capability to merge tested code into production code.
How should the Solutions Architect achieve these requirements?

Answer options

Correct answer: A

Explanation

The correct answer is A because it triggers a separate pipeline specifically for feature branches, allowing for isolated development without affecting production. It uses AWS CodeBuild to run unit tests and stage artifacts in a separate testing account, which supports the requirement for isolating development and production artifacts. The other options either do not adequately separate environments or use incorrect services for the requirements specified.