Question 740
A reviewer needs a focused diagnosis and proof of resolution for: A secure repository stores deployment credentials in an excluded file but a developer pastes the file text directly into chat. Which check-to-acceptance pair addresses that specific condition?
Explanation
Correct Answer
The read-only check (inspect the explicit chat prompt and attachments for credentials independently of file exclusion rules) isolates the relevant issue, and the acceptance evidence (the new prompt and output contain no real credentials or secret values) shows that its corresponding fix worked.
Incorrect Answers
This diagnostic and result belong to a different incident: A developer cannot find an organization-wide exclusion after adding a rule to their own editor configuration. For 'A secure repository stores deployment credentials in an excluded file but a developer pastes the file text directly into chat', examine inspect the explicit chat prompt and attachments for credentials independently of file exclusion rules and confirm that the new prompt and output contain no real credentials or secret values.
This diagnostic and result belong to a different incident: A developer argues that any source code suggested by Copilot must be free of licensing obligations. For 'A secure repository stores deployment credentials in an excluded file but a developer pastes the file text directly into chat', examine inspect the explicit chat prompt and attachments for credentials independently of file exclusion rules and confirm that the new prompt and output contain no real credentials or secret values.
This diagnostic and result belong to a different incident: An organization migrates repositories and assumes old exclusion patterns still cover renamed secret directories. For 'A secure repository stores deployment credentials in an excluded file but a developer pastes the file text directly into chat', examine inspect the explicit chat prompt and attachments for credentials independently of file exclusion rules and confirm that the new prompt and output contain no real credentials or secret values.



GitHub Copilot Practice Tests