Question 1
A team reports: A payments team asks Copilot Chat to implement card validation, but the draft omits the gateway's published checksum rule. They observe: The generated validator accepts a malformed test number despite appearing plausible. Which ONE technical decision most directly corrects the cause?
Explanation
Correct Answer
An LLM's fluent code is not proof of semantic compliance with an external specification.
Incorrect Answers
Cross-checking the summary against exact commits, logs, and code paths would not check the generated validator against the gateway specification and independently written pass/fail vectors.
Checking generated API calls against pinned package version documentation and execute compatibility tests would not check the generated validator against the gateway specification and independently written pass/fail vectors.
Generated code failed to preserve the wire-format contract. That does not establish specification-based validation of payment-card checksums.





GitHub Copilot (GH-300) Practice Tests