DOP-C02 · Question #450
DOP-C02 Question #450: Real Exam Question with Answer & Explanation
The correct answer is B: Run the test suite in a batch build type of build fanout by using the codebuild-tests-run command.. The "fan-out" batch build type in AWS CodeBuild allows running multiple builds in parallel for different subsets of tests, reducing overall test execution time. CodeBuild then aggregates the results into a single consolidated report.
Question
A DevOps engineer needs to implement a CI/CD pipeline that uses AWS CodeBuild to run a test suite. The test suite contains many test cases and takes a long time to finish running. The DevOps engineer wants to reduce the duration to run the tests. However, the DevOps engineer still wants to generate a single test report for all the test cases. Which solution will meet these requirements?
Options
- ARun the test suite in a batch build type of build matrix by using the codebuild-tests-run command.
- BRun the test suite in a batch build type of build fanout by using the codebuild-tests-run command.
- CRun the test suite in a batch build type of build list by using different subsets of the test cases.
- DRun the test suite in a batch build type of build graph by using different subsets of the test cases.
Explanation
The "fan-out" batch build type in AWS CodeBuild allows running multiple builds in parallel for different subsets of tests, reducing overall test execution time. CodeBuild then aggregates the results into a single consolidated report.
Topics
Community Discussion
No community discussion yet for this question.