Question 440
A software team reports this Copilot-related situation: An AI review returns an insecure hard-coded key suggestion. Which action most directly satisfies the requirement?
Explanation
Correct Answer
Security safeguards require human judgment of generated output. Acceptance evidence: The committed change contains no embedded credential and scans pass.
Incorrect Answers
Public-code references can identify matching repository and license data. That recommendation is relevant to a different task: A user receives a suggestion matching public code and wants to inspect the referenced license. In this case the main need is: An AI review returns an insecure hard-coded key suggestion.
Third-party tools may not follow Copilot exclusion rules. That recommendation is relevant to a different task: An agent asks a third-party MCP server to fetch a secret even though Copilot excludes the local file. In this case the main need is: An AI review returns an insecure hard-coded key suggestion.
Code suggestions and generated tests can miss vulnerabilities. That recommendation is relevant to a different task: A team treats all Copilot-generated test cases as proof that an application is secure. In this case the main need is: An AI review returns an insecure hard-coded key suggestion.