Question 380
A reviewer needs a focused diagnosis and proof of resolution for: A chat request references a production credential stored in a repository file and asks for a sample connection string. Which check-to-acceptance pair addresses that specific condition?
Explanation
Correct Answer
The read-only check (inspect the prompt attachments and selected source snippets for credentials) isolates the relevant issue, and the acceptance evidence (the resulting guidance uses placeholders and no production credential appears in the prompt or output) shows that its corresponding fix worked.
Incorrect Answers
This diagnostic and result belong to a different incident: A developer assumes that a locally disabled editor suggestion preference also changes GitHub server-side policy for all employees. For 'A chat request references a production credential stored in a repository file and asks for a sample connection string', examine inspect the prompt attachments and selected source snippets for credentials and confirm that the resulting guidance uses placeholders and no production credential appears in the prompt or output.
This diagnostic and result belong to a different incident: A Copilot answer proposes a change in a file that was not open, selected or provided to the chat. For 'A chat request references a production credential stored in a repository file and asks for a sample connection string', examine inspect the prompt attachments and selected source snippets for credentials and confirm that the resulting guidance uses placeholders and no production credential appears in the prompt or output.
This diagnostic and result belong to a different incident: A team wants to know why irrelevant neighboring code appears in the context for an inline suggestion. For 'A chat request references a production credential stored in a repository file and asks for a sample connection string', examine inspect the prompt attachments and selected source snippets for credentials and confirm that the resulting guidance uses placeholders and no production credential appears in the prompt or output.



GitHub Copilot Practice Tests