An organization wants to use 'CodeBuild Report Groups' to aggregate and visualize the results of their JUnit tests across multiple build projects. How do they specify the test files in the buildspec.yml?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Under the 'reports' section with the file path and type

The 'reports' section in buildspec.yml allows you to define where test results are located so CodeBuild can process them into reports....

📋Part of AWS Certified DevOps Engineer – Professional (DOP-C02) · AWS Certification Practice
Real Exam ScenarioScenario Based

An organization wants to use 'CodeBuild Report Groups' to aggregate and visualize the results of their JUnit tests across multiple build projects. How do they specify the test files in the buildspec.yml?

✓ Correct Answer & ExplanationScenario Based

Correct Answer

Under the 'reports' section with the file path and type

Why This Answer Is Correct

The 'reports' section in buildspec.yml allows you to define where test results are located so CodeBuild can process them into reports.

📚 What This Question Tests

This question evaluates your knowledge of Scenario Based — a core concept tested in AWS Certified DevOps Engineer – Professional (DOP-C02). Understanding Scenario Based is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.