Question 90
A reviewer needs a focused diagnosis and proof of resolution for: A generated dependency update chooses an abandoned package with a misleadingly similar name. Which check-to-acceptance pair addresses that specific condition?
Explanation
Correct Answer
The read-only check (inspect package provenance, publisher, maintenance history and security advisories) isolates the relevant issue, and the acceptance evidence (the build resolves only reviewed packages and the dependency scan reports no unaddressed finding) shows that its corresponding fix worked.
Incorrect Answers
This diagnostic and result belong to a different incident: An agent proposes to skip CI checks so a release can meet a deadline. For 'A generated dependency update chooses an abandoned package with a misleadingly similar name', examine inspect package provenance, publisher, maintenance history and security advisories and confirm that the build resolves only reviewed packages and the dependency scan reports no unaddressed finding.
This diagnostic and result belong to a different incident: A Copilot-generated search endpoint interpolates a user-supplied filter directly into SQL. For 'A generated dependency update chooses an abandoned package with a misleadingly similar name', examine inspect package provenance, publisher, maintenance history and security advisories and confirm that the build resolves only reviewed packages and the dependency scan reports no unaddressed finding.
This diagnostic and result belong to a different incident: An AI-proposed pull request changes authorization checks but includes only happy-path tests. For 'A generated dependency update chooses an abandoned package with a misleadingly similar name', examine inspect package provenance, publisher, maintenance history and security advisories and confirm that the build resolves only reviewed packages and the dependency scan reports no unaddressed finding.



GitHub Copilot Practice Tests