Question 510
A reviewer needs a focused diagnosis and proof of resolution for: An assistant generates a successful HTTP response example that violates the team's required JSON schema. Which check-to-acceptance pair addresses that specific condition?
Explanation
Correct Answer
The read-only check (inspect the agreed schema, required fields and sample valid response) isolates the relevant issue, and the acceptance evidence (a schema validator accepts the generated example and relevant edge cases) shows that its corresponding fix worked.
Incorrect Answers
This diagnostic and result belong to a different incident: A developer includes a live token in a prompt to ask Copilot for a curl example. For 'An assistant generates a successful HTTP response example that violates the team's required JSON schema', examine inspect the agreed schema, required fields and sample valid response and confirm that a schema validator accepts the generated example and relevant edge cases.
This diagnostic and result belong to a different incident: A Copilot request to add pagination ignores the repository's existing cursor token convention. For 'An assistant generates a successful HTTP response example that violates the team's required JSON schema', examine inspect the agreed schema, required fields and sample valid response and confirm that a schema validator accepts the generated example and relevant edge cases.
This diagnostic and result belong to a different incident: A developer wants the same error-handling pattern as an existing module but only gives abstract prose. For 'An assistant generates a successful HTTP response example that violates the team's required JSON schema', examine inspect the agreed schema, required fields and sample valid response and confirm that a schema validator accepts the generated example and relevant edge cases.



GitHub Copilot Practice Tests