Question 70
A reviewer needs a focused diagnosis and proof of resolution for: An AI-drafted error handler catches every exception and suppresses evidence of customer payment failures. Which check-to-acceptance pair addresses that specific condition?
Explanation
Correct Answer
The read-only check (review exception paths and run tests that simulate payment-provider errors and timeouts) isolates the relevant issue, and the acceptance evidence (simulated failures generate actionable telemetry without falsely reporting a completed payment) shows that its corresponding fix worked.
Incorrect Answers
This diagnostic and result belong to a different incident: An IDE suggestion reproduces a recognizable public library implementation that would be pasted into proprietary code. For 'An AI-drafted error handler catches every exception and suppresses evidence of customer payment failures', examine review exception paths and run tests that simulate payment-provider errors and timeouts and confirm that simulated failures generate actionable telemetry without falsely reporting a completed payment.
This diagnostic and result belong to a different incident: A developer pasted real customer support transcripts into a Copilot prompt to generate a troubleshooting example. For 'An AI-drafted error handler catches every exception and suppresses evidence of customer payment failures', examine review exception paths and run tests that simulate payment-provider errors and timeouts and confirm that simulated failures generate actionable telemetry without falsely reporting a completed payment.
This diagnostic and result belong to a different incident: An AI-proposed authentication refactor names a framework method that does not exist in the installed package version. For 'An AI-drafted error handler catches every exception and suppresses evidence of customer payment failures', examine review exception paths and run tests that simulate payment-provider errors and timeouts and confirm that simulated failures generate actionable telemetry without falsely reporting a completed payment.



GitHub Copilot Practice Tests