AWS Certified Developer – Associate (DVA-C02) — Question 407

A developer is setting up AWS CodePipeline for a new application. During each build, the developer must generate a test report.

Which solution will meet this requirement?

Answer options

Correct answer: A

Explanation

AWS CodeBuild natively supports test reporting by configuring the reports sequence within the buildspec file during the build stage of a pipeline. AWS CodeDeploy and its AppSpec file are designed for managing deployments rather than generating build-phase test reports. AWS Systems Manager (SSM) Agent on EC2 and AWS CodeArtifact (an artifact repository manager) do not provide native integration for generating test reports during CodePipeline builds.