Question 60
During a security and availability review at a digital payments provider, the DevOps team discovers that developers run unit tests only from laptops after the production deployment is completed. The affected workload supports transaction authorization and reconciliation; availability and integrity are both required for financial settlement. What test evidence would MOST convincingly validate the proposed solution?
Explanation
Correct Answer
Correct. Introduce an intentionally failing required integration test and verify the build exits unsuccessfully and blocks the release stage. This is observable evidence of successful remediation for developers run unit tests only from laptops after the production deployment is completed. A successful API call or a green installation indicator alone would not prove the affected transaction authorization and reconciliation operates correctly.
Incorrect Answers
A clean CodeBuild environment resolves only approved pinned packages from the designated repository and reproduces the tested artifact. Acceptance here depends on observing ci unit and integration quality gates, not only that test.
The image digest is identical in approved test and production deployment records, and an attempted overwrite of the protected release tag is rejected. It does not establish the requested ci unit and integration quality gates outcome.
Inject a failing health signal during a canary release and verify CodeDeploy halts or rolls back traffic to the last healthy version. That result could pass without demonstrating ci unit and integration quality gates.