A developer needs a solution that builds code from an AWS CodeCommit repository, runs unit tests for every change, and provides detailed, accessible test reports. Company policy requires comprehensive unit testing and that test results be available. Which solution meets these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Use AWS CodeBuild to build the code and run unit tests, and use CodeBuild's test reporting feature to generate and view detailed reports..
Why this is the answer
AWS CodeBuild is a fully managed continuous integration service that compiles source code, runs unit tests, and produces artifacts. It directly integrates with CodeCommit and offers a robust test reporting feature to generate and view detailed reports, fulfilling the requirement for accessible test results. CodeDeploy is for deployment, not building and testing. CodeWhisperer is an AI coding companion and doesn't manage CI/CD pipelines or test reporting. While Lambda could be used, it would require significant custom development for building, testing, and reporting, making CodeBuild a more efficient and purpose-built solution.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed