Question 10
For this case: A CodeBuild project succeeds on developer laptops but fails in managed builds because the buildspec omits runtime setup and dependency installation. The team applies this change: Version the buildspec, runtime configuration and dependency installation steps with the application, and run builds in controlled environments. Which evidence BEST confirms it worked?
Explanation
Correct Answer
This observation directly checks that the proposed change works in the described environment: Reproduce the build from a clean environment and inspect CodeBuild phase logs and artifact hashes for the selected commit. The reason is: A reproducible pipeline records build environment and dependencies as code, not as tribal knowledge from individual machines.
Incorrect Answers
Performance tests must represent realistic load patterns and measurable service objectives rather than just successful individual requests. The needed step here is to reproduce the build from a clean environment and inspect CodeBuild phase logs and artifact hashes for the selected commit.
Release confidence requires testing the final dependency set and artifact, not only the application's source code. The appropriate remedy is to reproduce the build from a clean environment and inspect CodeBuild phase logs and artifact hashes for the selected commit.
Immutable machine images reduce configuration drift when the exact recipe and release identifier are tracked. Instead, the response must reproduce the build from a clean environment and inspect CodeBuild phase logs and artifact hashes for the selected commit.





AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests