DVA-C02 · Question #461
A developer is working on a project that requires regular updates to a web application's backend code. The code is stored in AWS CodeCommit. Company policy states that all code must have complete…
The correct answer is C. Configure AWS CodeBuild to build the code and to run unit tests. Use test reporting in CodeBuild. AWS CodeBuild is a fully managed service that can compile source code, run tests, and produce software packages. It is designed to integrate with AWS CodeCommit and other AWS services. CodeBuild also has built-in support for test reporting, which allows developers to view…
Question
A developer is working on a project that requires regular updates to a web application's backend code. The code is stored in AWS CodeCommit. Company policy states that all code must have complete unit testing and that the test results must be available for access. The developer needs to implement a solution that will take each change to the code repository, build the code, and run unit tests. The solution also must provide a detailed report of the test results. Which solution will meet these requirements?
Options
- AConfigure AWS CodeDeploy to deploy code from CodeCommit and to run unit tests. Send the
- BConfigure Amazon CodeWhisperer to create the code and to run unit tests. Save the test results
- CConfigure AWS CodeBuild to build the code and to run unit tests. Use test reporting in CodeBuild
- DCreate AWS Lambda functions that run when changes are made in CodeCommit. Program the
How the community answered
(17 responses)- A12% (2)
- B6% (1)
- C82% (14)
Explanation
AWS CodeBuild is a fully managed service that can compile source code, run tests, and produce software packages. It is designed to integrate with AWS CodeCommit and other AWS services. CodeBuild also has built-in support for test reporting, which allows developers to view detailed reports of the unit tests after each build. This solution meets the requirement of automating the build and test process and provides detailed test reports.
Community Discussion
No community discussion yet for this question.